diff options
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r-- | components/script/dom/blob.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs index af45c1e858c..a49d317031b 100644 --- a/components/script/dom/blob.rs +++ b/components/script/dom/blob.rs @@ -309,11 +309,10 @@ impl BlobMethods for Blob { /// see <https://github.com/w3c/FileAPI/issues/43> pub fn normalize_type_string(s: &str) -> String { if is_ascii_printable(s) { - let s_lower = s.to_ascii_lowercase(); + s.to_ascii_lowercase() // match s_lower.parse() as Result<Mime, ()> { // Ok(_) => s_lower, // Err(_) => "".to_string() - s_lower } else { "".to_string() } |