diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2020-10-13 14:56:53 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2020-10-13 14:56:53 -0700 |
commit | 9f2f45ab77fb2400427d56e4365aeb2505e3b368 (patch) | |
tree | dccc0b677ae4dd0c0753b06e10c8114434aa0df0 | |
parent | a4c008c26fd599b1025aef2b99e75c324ff78a60 (diff) |
No need to use turbofish for collect in encode_element
-rw-r--r-- | src/codec.rs | 2 |
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() } |