diff options
| author | Mason Reed <mason@vector35.com> | 2025-05-04 20:51:33 -0400 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-05-12 17:45:24 -0400 |
| commit | 9f5491a56f6af1fa9b030f23d40150673a52aaa1 (patch) | |
| tree | fe83813d0327fd86987472986b1f05bb69b98fd5 /rust/src/string.rs | |
| parent | f32f083c81a5034530ac33ad2bc460dd234186a5 (diff) | |
[Rust] Misc clippy lints
Diffstat (limited to 'rust/src/string.rs')
| -rw-r--r-- | rust/src/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
