Skip to content

Commit 1c87c35

Browse files
committed
Let's see if lifetime elision works in this case
1 parent 658b7eb commit 1c87c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pub fn split_paths(unparsed: &OsStr) -> SplitPaths {
142142
let unparsed = unparsed.as_bytes();
143143
SplitPaths {
144144
iter: unparsed.split(is_colon as fn(&u8) -> bool)
145-
.map(bytes_to_path as fn(&'a [u8]) -> PathBuf)
145+
.map(bytes_to_path as fn(&[u8]) -> PathBuf)
146146
}
147147
}
148148

0 commit comments

Comments
 (0)