mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
impl Copy for FromBytesUntilNulError
This commit is contained in:
@@ -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(());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user