Skip to content

Commit 80f4c49

Browse files
committed
Add missing lifetime specifier
1 parent 3cd4df7 commit 80f4c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/windows/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub fn is_verbatim_sep(b: u8) -> bool {
1919
b == b'\\'
2020
}
2121

22-
pub fn parse_prefix(path: &OsStr) -> Option<Prefix> {
22+
pub fn parse_prefix(path: &OsStr) -> Option<Prefix<'_>> {
2323
use crate::path::Prefix::*;
2424
unsafe {
2525
// The unsafety here stems from converting between &OsStr and &[u8]

0 commit comments

Comments
 (0)