impl Copy for FromBytesUntilNulError

This commit is contained in:
Victorien Elvinger
2026-02-08 23:25:18 +01:00
parent 6efa357bff
commit 8e8b4def4f
+1 -1
View File
@@ -155,7 +155,7 @@ impl Error for FromBytesWithNulError {}
/// within the slice.
///
/// This error is created by the [`CStr::from_bytes_until_nul`] method.
#[derive(Clone, PartialEq, Eq, Debug)]
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
pub struct FromBytesUntilNulError(());