summaryrefslogtreecommitdiffstats
path: root/vendor/idna/tests/punycode.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:19 +0000
commita0b8f38ab54ac451646aa00cd5e91b6c76f22a84 (patch)
treefc451898ccaf445814e26b46664d78702178101d /vendor/idna/tests/punycode.rs
parentAdding debian version 1.71.1+dfsg1-2. (diff)
downloadrustc-a0b8f38ab54ac451646aa00cd5e91b6c76f22a84.tar.xz
rustc-a0b8f38ab54ac451646aa00cd5e91b6c76f22a84.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/idna/tests/punycode.rs')
-rw-r--r--vendor/idna/tests/punycode.rs2
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!(),
}