@@ -571,7 +571,7 @@ pub struct EqCodePredicate(predicates::ord::EqPredicate<i32>);
571571impl EqCodePredicate {
572572 pub ( crate ) fn new ( value : i32 ) -> Self {
573573 let pred = predicates:: ord:: eq ( value) ;
574- EqCodePredicate ( pred)
574+ Self ( pred)
575575 }
576576}
577577
@@ -640,7 +640,7 @@ pub struct InCodePredicate(predicates::iter::InPredicate<i32>);
640640impl InCodePredicate {
641641 pub ( crate ) fn new < I : IntoIterator < Item = i32 > > ( value : I ) -> Self {
642642 let pred = predicates:: iter:: in_iter ( value) ;
643- InCodePredicate ( pred)
643+ Self ( pred)
644644 }
645645}
646646
@@ -765,11 +765,11 @@ pub struct BytesContentOutputPredicate(Cow<'static, [u8]>);
765765
766766impl BytesContentOutputPredicate {
767767 pub ( crate ) fn new ( value : & ' static [ u8 ] ) -> Self {
768- BytesContentOutputPredicate ( Cow :: from ( value) )
768+ Self ( Cow :: from ( value) )
769769 }
770770
771771 pub ( crate ) fn from_vec ( value : Vec < u8 > ) -> Self {
772- BytesContentOutputPredicate ( Cow :: from ( value) )
772+ Self ( Cow :: from ( value) )
773773 }
774774}
775775
@@ -843,12 +843,12 @@ pub struct StrContentOutputPredicate(
843843impl StrContentOutputPredicate {
844844 pub ( crate ) fn from_str ( value : & ' static str ) -> Self {
845845 let pred = predicates:: str:: diff ( value) . from_utf8 ( ) ;
846- StrContentOutputPredicate ( pred)
846+ Self ( pred)
847847 }
848848
849849 pub ( crate ) fn from_string ( value : String ) -> Self {
850850 let pred = predicates:: str:: diff ( value) . from_utf8 ( ) ;
851- StrContentOutputPredicate ( pred)
851+ Self ( pred)
852852 }
853853}
854854
@@ -933,7 +933,7 @@ where
933933{
934934 pub ( crate ) fn new ( pred : P ) -> Self {
935935 let pred = pred. from_utf8 ( ) ;
936- StrOutputPredicate ( pred)
936+ Self ( pred)
937937 }
938938}
939939
0 commit comments