From 9f5491a56f6af1fa9b030f23d40150673a52aaa1 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 4 May 2025 20:51:33 -0400 Subject: [Rust] Misc clippy lints --- rust/src/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/string.rs') diff --git a/rust/src/string.rs b/rust/src/string.rs index 5be623c1..820418d0 100644 --- a/rust/src/string.rs +++ b/rust/src/string.rs @@ -189,7 +189,7 @@ pub unsafe trait AsCStr { fn to_cstr(self) -> Self::Result; } -unsafe impl<'a> AsCStr for &'a CStr { +unsafe impl AsCStr for &CStr { type Result = Self; fn to_cstr(self) -> Self::Result { -- cgit v1.3.1