@@ -146,19 +146,19 @@ pub struct CStr {
146146
147147/// An error returned from `CString::new` to indicate that a nul byte was found
148148/// in the vector provided.
149- #[ derive( Clone , PartialEq , Debug ) ]
149+ #[ derive( Clone , PartialEq , Eq , Debug ) ]
150150#[ stable( feature = "rust1" , since = "1.0.0" ) ]
151151pub struct NulError ( usize , Vec < u8 > ) ;
152152
153153/// An error returned from `CStr::from_bytes_with_nul` to indicate that a nul
154154/// byte was found too early in the slice provided or one wasn't found at all.
155- #[ derive( Clone , PartialEq , Debug ) ]
155+ #[ derive( Clone , PartialEq , Eq , Debug ) ]
156156#[ stable( feature = "cstr_from_bytes" , since = "1.10.0" ) ]
157157pub struct FromBytesWithNulError { _a : ( ) }
158158
159159/// An error returned from `CString::into_string` to indicate that a UTF-8 error
160160/// was encountered during the conversion.
161- #[ derive( Clone , PartialEq , Debug ) ]
161+ #[ derive( Clone , PartialEq , Eq , Debug ) ]
162162#[ stable( feature = "cstring_into" , since = "1.7.0" ) ]
163163pub struct IntoStringError {
164164 inner : CString ,
0 commit comments