aboutsummaryrefslogtreecommitdiff
path: root/src/codec.rs
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2020-10-13 14:56:53 -0700
committerRichard Walters <rwalters@digitalstirling.com>2020-10-13 14:56:53 -0700
commit9f2f45ab77fb2400427d56e4365aeb2505e3b368 (patch)
treedccc0b677ae4dd0c0753b06e10c8114434aa0df0 /src/codec.rs
parenta4c008c26fd599b1025aef2b99e75c324ff78a60 (diff)
No need to use turbofish for collect in encode_element
Diffstat (limited to 'src/codec.rs')
-rw-r--r--src/codec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec.rs b/src/codec.rs
index 3bba1c6..38017cd 100644
--- a/src/codec.rs
+++ b/src/codec.rs
@@ -52,5 +52,5 @@ pub fn encode_element(
_ => format!("%{:X}", ci),
}
})
- .collect::<String>()
+ .collect()
}