Let's see if lifetime elision works in this case
This commit is contained in:
parent
658b7eba5b
commit
1c87c3530c
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ pub fn split_paths(unparsed: &OsStr) -> SplitPaths {
|
|||
let unparsed = unparsed.as_bytes();
|
||||
SplitPaths {
|
||||
iter: unparsed.split(is_colon as fn(&u8) -> bool)
|
||||
.map(bytes_to_path as fn(&'a [u8]) -> PathBuf)
|
||||
.map(bytes_to_path as fn(&[u8]) -> PathBuf)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue