@@ -542,13 +542,13 @@ impl ReportWriter for FileWriter {
542542 _: EncodingType ,
543543 ) -> Fallible < ( ) > {
544544 self . create_prefix ( path. as_ref ( ) ) ?;
545- fs:: write ( & self . 0 . join ( path. as_ref ( ) ) , & b) ?;
545+ fs:: write ( self . 0 . join ( path. as_ref ( ) ) , b) ?;
546546 Ok ( ( ) )
547547 }
548548
549549 fn write_string < P : AsRef < Path > > ( & self , path : P , s : Cow < str > , _: & Mime ) -> Fallible < ( ) > {
550550 self . create_prefix ( path. as_ref ( ) ) ?;
551- fs:: write ( & self . 0 . join ( path. as_ref ( ) ) , s. as_ref ( ) . as_bytes ( ) ) ?;
551+ fs:: write ( self . 0 . join ( path. as_ref ( ) ) , s. as_ref ( ) . as_bytes ( ) ) ?;
552552 Ok ( ( ) )
553553 }
554554}
@@ -973,19 +973,19 @@ mod tests {
973973 ) ;
974974 assert_eq ! ( gh_result. res, Comparison :: Regressed ) ;
975975 assert_eq ! (
976- ( & gh_result. runs[ 0 ] ) . as_ref( ) . unwrap( ) . res,
976+ gh_result. runs[ 0 ] . as_ref( ) . unwrap( ) . res,
977977 TestResult :: TestPass
978978 ) ;
979979 assert_eq ! (
980- ( & gh_result. runs[ 1 ] ) . as_ref( ) . unwrap( ) . res,
980+ gh_result. runs[ 1 ] . as_ref( ) . unwrap( ) . res,
981981 TestResult :: BuildFail ( FailureReason :: Unknown )
982982 ) ;
983983 assert_eq ! (
984- Path :: new( ( & gh_result. runs[ 0 ] ) . as_ref( ) . unwrap( ) . log. as_str( ) ) ,
984+ Path :: new( gh_result. runs[ 0 ] . as_ref( ) . unwrap( ) . log. as_str( ) ) ,
985985 Path :: new( "stable/gh/brson.hello-rs" )
986986 ) ;
987987 assert_eq ! (
988- Path :: new( ( & gh_result. runs[ 1 ] ) . as_ref( ) . unwrap( ) . log. as_str( ) ) ,
988+ Path :: new( gh_result. runs[ 1 ] . as_ref( ) . unwrap( ) . log. as_str( ) ) ,
989989 Path :: new( "beta/gh/brson.hello-rs" )
990990 ) ;
991991
@@ -996,19 +996,19 @@ mod tests {
996996 ) ;
997997 assert_eq ! ( reg_result. res, Comparison :: Regressed ) ;
998998 assert_eq ! (
999- ( & reg_result. runs[ 0 ] ) . as_ref( ) . unwrap( ) . res,
999+ reg_result. runs[ 0 ] . as_ref( ) . unwrap( ) . res,
10001000 TestResult :: TestPass
10011001 ) ;
10021002 assert_eq ! (
1003- ( & reg_result. runs[ 1 ] ) . as_ref( ) . unwrap( ) . res,
1003+ reg_result. runs[ 1 ] . as_ref( ) . unwrap( ) . res,
10041004 TestResult :: BuildFail ( FailureReason :: Unknown )
10051005 ) ;
10061006 assert_eq ! (
1007- Path :: new( ( & reg_result. runs[ 0 ] ) . as_ref( ) . unwrap( ) . log. as_str( ) ) ,
1007+ Path :: new( reg_result. runs[ 0 ] . as_ref( ) . unwrap( ) . log. as_str( ) ) ,
10081008 Path :: new( "stable/reg/syn-1.0.0" )
10091009 ) ;
10101010 assert_eq ! (
1011- Path :: new( ( & reg_result. runs[ 1 ] ) . as_ref( ) . unwrap( ) . log. as_str( ) ) ,
1011+ Path :: new( reg_result. runs[ 1 ] . as_ref( ) . unwrap( ) . log. as_str( ) ) ,
10121012 Path :: new( "beta/reg/syn-1.0.0" )
10131013 ) ;
10141014
0 commit comments