@@ -682,7 +682,7 @@ fn calculate<'a, 'cfg>(
682682 local. extend ( local_fingerprint_run_custom_build_deps ( cx, unit) ) ;
683683 local
684684 } else {
685- let fingerprint = pkg_fingerprint ( & cx. bcx , unit. pkg ) ?;
685+ let fingerprint = pkg_fingerprint ( cx. bcx , unit. pkg ) ?;
686686 vec ! [ LocalFingerprint :: Precalculated ( fingerprint) ]
687687 } ;
688688
@@ -701,7 +701,7 @@ fn calculate<'a, 'cfg>(
701701 profile : profile_hash,
702702 // Note that .0 is hashed here, not .1 which is the cwd. That doesn't
703703 // actually affect the output artifact so there's no need to hash it.
704- path : util:: hash_u64 ( & super :: path_args ( & cx. bcx , unit) . 0 ) ,
704+ path : util:: hash_u64 ( & super :: path_args ( cx. bcx , unit) . 0 ) ,
705705 features : format ! ( "{:?}" , bcx. resolve. features_sorted( unit. pkg. package_id( ) ) ) ,
706706 deps,
707707 local,
@@ -855,7 +855,7 @@ fn build_script_local_fingerprints<'a, 'cfg>(
855855 let output = deps. build_script_output . clone ( ) ;
856856 if deps. rerun_if_changed . is_empty ( ) && deps. rerun_if_env_changed . is_empty ( ) {
857857 debug ! ( "old local fingerprints deps" ) ;
858- let s = pkg_fingerprint ( & cx. bcx , unit. pkg ) ?;
858+ let s = pkg_fingerprint ( cx. bcx , unit. pkg ) ?;
859859 return Ok ( ( vec ! [ LocalFingerprint :: Precalculated ( s) ] , Some ( output) ) ) ;
860860 }
861861
0 commit comments