Fix all mismatched_lifetime_syntaxes warnings (#2727)

This commit is contained in:
linkmauve
2025-10-28 16:34:42 +01:00
committed by GitHub
parent 5f23781c10
commit 26a38183cf
26 changed files with 34 additions and 26 deletions
+2
View File
@@ -1,3 +1,5 @@
#![deny(mismatched_lifetime_syntaxes)]
/// uses unsafe to postfix the string with invalid utf8 data
#[allow(invalid_from_utf8_unchecked)]
pub fn invalid_utf8(prefix: &str) -> String {