diff options
Diffstat (limited to 'vendor/idna/tests/punycode.rs')
-rw-r--r-- | vendor/idna/tests/punycode.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/idna/tests/punycode.rs b/vendor/idna/tests/punycode.rs index 1a51cbc92..95674137a 100644 --- a/vendor/idna/tests/punycode.rs +++ b/vendor/idna/tests/punycode.rs @@ -41,7 +41,7 @@ fn one_test(decoded: &str, encoded: &str) { fn get_string<'a>(map: &'a Map<String, Value>, key: &str) -> &'a str { match map.get(&key.to_string()) { - Some(&Value::String(ref s)) => s, + Some(Value::String(s)) => s, None => "", _ => panic!(), } |