aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2020-10-07 18:49:29 -0700
committerRichard Walters <rwalters@digitalstirling.com>2020-10-07 18:49:29 -0700
commit71209c43c6fd1be1b5a0e1128a100785749837de (patch)
tree2f08ec975c5349a4ff982d3a5fa54bdbb149ac95
parent0e6cef2de2760f81621748c1468ba93b3e30cef3 (diff)
(Rust) dismiss some todos
-rw-r--r--src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9508c56..b908b3f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -14,8 +14,6 @@ use std::convert::TryFrom;
// from the ASCII character set.
//
// TODO: improvement
-// [16:16] silen_z: btw char::is_ascii_letter or something like that exists
-//
// [14:49] silmeth: @rhymu8354 you might want to look at once_cell as a nicer
// macro-less replacement for lazystatic!()
lazy_static! {
@@ -927,8 +925,6 @@ impl Uri {
}
}
}
- // TODO: improvement
- // [15:57] silen_z: collect into Result<Vec<_>, Error>
path_encoded.into_iter().map(
|segment| {
Self::decode_element(&segment, &PCHAR_NOT_PCT_ENCODED)