@@ -74,7 +74,7 @@ fn tests(required_forbidden_pairs: &[(&[&str], &[&str])]) {
7474 let mut successes = Vec :: new ( ) ;
7575 let mut failures = Vec :: new ( ) ;
7676 for path in & paths {
77- let contents = read_to_string ( & path) . unwrap ( ) ;
77+ let contents = read_to_string ( path) . unwrap ( ) ;
7878 let contracts = contract_re
7979 . captures_iter ( & contents)
8080 . map ( |captures| {
@@ -108,7 +108,7 @@ fn tests(required_forbidden_pairs: &[(&[&str], &[&str])]) {
108108 eprintln ! ( "Deploying `{}`" , path. display( ) ) ;
109109
110110 let ( tempdir, address) = match deploy (
111- PathBuf :: from ( env ! ( "CARGO_MANIFEST_DIR" ) ) . join ( & path) ,
111+ PathBuf :: from ( env ! ( "CARGO_MANIFEST_DIR" ) ) . join ( path) ,
112112 contract,
113113 ) {
114114 Ok ( ( tempdir, address) ) => ( tempdir, address) ,
@@ -130,7 +130,7 @@ fn tests(required_forbidden_pairs: &[(&[&str], &[&str])]) {
130130
131131 for function in argless_functions {
132132 eprintln ! ( "Testing `{function}`" ) ;
133- match call ( dir, & address, & [ & format ! ( "{function}()" ) ] ) {
133+ match call ( dir, & address, [ format ! ( "{function}()" ) ] ) {
134134 Ok ( _) => successes. push ( ( path. to_path_buf ( ) , function. to_owned ( ) ) ) ,
135135 Err ( Error ( severity, error) ) => {
136136 failures. push ( ( path. to_path_buf ( ) , function. to_owned ( ) , severity, error) )
@@ -244,7 +244,7 @@ where
244244 "--rpc-url=http://localhost:8547" ,
245245 "--private-key" ,
246246 PRIVATE_KEY ,
247- & address,
247+ address,
248248 ]
249249 . into_iter ( )
250250 . map ( OsStr :: new) ;
0 commit comments