We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cd4df7 commit 80f4c49Copy full SHA for 80f4c49
src/libstd/sys/windows/path.rs
@@ -19,7 +19,7 @@ pub fn is_verbatim_sep(b: u8) -> bool {
19
b == b'\\'
20
}
21
22
-pub fn parse_prefix(path: &OsStr) -> Option<Prefix> {
+pub fn parse_prefix(path: &OsStr) -> Option<Prefix<'_>> {
23
use crate::path::Prefix::*;
24
unsafe {
25
// The unsafety here stems from converting between &OsStr and &[u8]
0 commit comments