Skip to content

Commit cb31e59

Browse files
committed
clippy
1 parent 3d2b281 commit cb31e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/finder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ impl<TSys: Sys + 'static> Finder<TSys> {
259259
}
260260
}
261261

262-
fn tilde_expansion<'a, TSys: Sys>(sys: &TSys, p: &'a PathBuf) -> Cow<'a, PathBuf> {
262+
fn tilde_expansion<'a, TSys: Sys>(sys: &TSys, p: &'a Path) -> Cow<'a, Path> {
263263
let mut component_iter = p.components();
264264
if let Some(Component::Normal(o)) = component_iter.next() {
265265
if o == "~" {

0 commit comments

Comments
 (0)