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