Update url.rs

This commit is contained in:
Rob Ede 2021-03-24 11:19:27 +00:00
parent dfe46a3adf
commit 9dde944b46
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ impl Quoter {
}
cloned.map(|data| {
// Unsafe: we get data from http::Uri, which does utf-8 checks already
// SAFETY: we get data from http::Uri, which does UTF-8 checks already
// this code only decodes valid pct encoded values
unsafe { String::from_utf8_unchecked(data) }
})