Skip to content

Commit

Permalink
fix: clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
georgesboris committed Oct 24, 2022
1 parent 7b2e072 commit 2fcaa78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn find_root(root: Option<&str>, root_markers: &[String]) -> std::path::Path
}

// If no root folder or git repo is found, return current_dir as fallback.
return current_dir.to_path_buf();
current_dir
}

pub use ropey::{str_utils, Rope, RopeBuilder, RopeSlice};
Expand Down

0 comments on commit 2fcaa78

Please sign in to comment.