mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-03 06:27:45 +00:00
refactor/polish ~ fix cargo clippy
complaint (needless_lifetimes)
This commit is contained in:
parent
305c3cbcdb
commit
c36d71ba43
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ fn copy_source(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
fn adjust_canonicalization<'a>(p: &'a Path) -> Cow<'a, Path> {
|
fn adjust_canonicalization(p: &Path) -> Cow<Path> {
|
||||||
// In some cases, \\? can be missing on some Windows paths. Add it at the
|
// In some cases, \\? can be missing on some Windows paths. Add it at the
|
||||||
// beginning unless the path is prefixed with a device namespace.
|
// beginning unless the path is prefixed with a device namespace.
|
||||||
const VERBATIM_PREFIX: &str = r#"\\?"#;
|
const VERBATIM_PREFIX: &str = r#"\\?"#;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue