libstd: deny(elided_lifetimes_in_paths)
This commit is contained in:
@@ -19,7 +19,7 @@ pub fn is_verbatim_sep(b: u8) -> bool {
|
||||
b == b'\\'
|
||||
}
|
||||
|
||||
pub fn parse_prefix<'a>(path: &'a OsStr) -> Option<Prefix> {
|
||||
pub fn parse_prefix<'a>(path: &'a OsStr) -> Option<Prefix<'a>> {
|
||||
use crate::path::Prefix::*;
|
||||
unsafe {
|
||||
// The unsafety here stems from converting between &OsStr and &[u8]
|
||||
|
||||
Reference in New Issue
Block a user