Skip to content

Commit 2d54f32

Browse files
authored
Fix a small clippy warning (#16499)
## Summary Missed this with another PR. ## Test Plan NFC. Signed-off-by: William Woodruff <[email protected]>
1 parent c4f5741 commit 2d54f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/uv-extract/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ mod sync;
1212
mod vendor;
1313

1414
static CONTROL_CHARACTERS_RE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"\p{C}").unwrap());
15-
static REPLACEMENT_CHARACTER: &'static str = "\u{FFFD}";
15+
static REPLACEMENT_CHARACTER: &str = "\u{FFFD}";
1616

1717
/// Validate that a given filename (e.g. reported by a ZIP archive's
1818
/// local file entries or central directory entries) is "safe" to use.

0 commit comments

Comments
 (0)