Skip to content

Commit

Permalink
Happify linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Schweizer committed Dec 2, 2023
1 parent 83f2f99 commit b946d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/deltalake-core/src/operations/vacuum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl VacuumBuilder {
if let Ok(parent) =
&Url::parse(&format!("file://{}", self.log_store.root_uri().as_str()))
{
if let Ok(dv_absolute_path) = deletion_vector.absolute_path(&parent) {
if let Ok(dv_absolute_path) = deletion_vector.absolute_path(parent) {
Some(dv_absolute_path?.path().to_string())
} else {
None
Expand Down Expand Up @@ -307,7 +307,7 @@ impl std::future::IntoFuture for VacuumBuilder {

fn is_absolute_path(path: &str) -> bool {
let path = std::path::Path::new(path);
return path.is_absolute();
path.is_absolute()
}

/// Encapsulate which files are to be deleted and the parameters used to make that decision
Expand Down

0 comments on commit b946d07

Please sign in to comment.