mirror of https://github.com/astral-sh/uv
Fix a small clippy warning (#16499)
## Summary Missed this with another PR. ## Test Plan NFC. Signed-off-by: William Woodruff <william@astral.sh>
This commit is contained in:
parent
c4f5741e7d
commit
2d54f329e5
|
|
@ -12,7 +12,7 @@ mod sync;
|
||||||
mod vendor;
|
mod vendor;
|
||||||
|
|
||||||
static CONTROL_CHARACTERS_RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"\p{C}").unwrap());
|
static CONTROL_CHARACTERS_RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"\p{C}").unwrap());
|
||||||
static REPLACEMENT_CHARACTER: &'static str = "\u{FFFD}";
|
static REPLACEMENT_CHARACTER: &str = "\u{FFFD}";
|
||||||
|
|
||||||
/// Validate that a given filename (e.g. reported by a ZIP archive's
|
/// Validate that a given filename (e.g. reported by a ZIP archive's
|
||||||
/// local file entries or central directory entries) is "safe" to use.
|
/// local file entries or central directory entries) is "safe" to use.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue