diff --git a/crates/gettext-maps/build.rs b/crates/gettext-maps/build.rs index eb259f986..e036ea10c 100644 --- a/crates/gettext-maps/build.rs +++ b/crates/gettext-maps/build.rs @@ -139,7 +139,7 @@ fn to_raw_str(s: &str) -> String { write!( &mut cached_map_file, "static {}: phf::Map<&'static str, &'static str> = {}", - &map_name, + map_name, single_language_localization_map.build() ) .unwrap(); diff --git a/src/common.rs b/src/common.rs index 9c35571cd..4a2babc49 100644 --- a/src/common.rs +++ b/src/common.rs @@ -574,9 +574,9 @@ fn test_convert() { {:4} chars: {}\n Use this seed to reproduce: {}", origin.len(), - &bytes2hex(&origin), + bytes2hex(&origin), n.len(), - &bytes2hex(&n), + bytes2hex(&n), seed, ); }