diff options
Diffstat (limited to 'runtime/ops/web_worker/sync_fetch.rs')
-rw-r--r-- | runtime/ops/web_worker/sync_fetch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/web_worker/sync_fetch.rs b/runtime/ops/web_worker/sync_fetch.rs index 9f146b67e..76791ded5 100644 --- a/runtime/ops/web_worker/sync_fetch.rs +++ b/runtime/ops/web_worker/sync_fetch.rs @@ -16,7 +16,7 @@ use tokio::task::JoinHandle; // TODO(andreubotella) Properly parse the MIME type fn mime_type_essence(mime_type: &str) -> String { - let essence = match mime_type.split_once(";") { + let essence = match mime_type.split_once(';') { Some((essence, _)) => essence, None => mime_type, }; |