aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r--components/script/fetch.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs
index 3e2af19f477..73872fbdf0d 100644
--- a/components/script/fetch.rs
+++ b/components/script/fetch.rs
@@ -136,7 +136,7 @@ fn request_init_from_request(request: NetTraitsRequest) -> RequestBuilder {
}
// https://fetch.spec.whatwg.org/#fetch-method
-#[allow(unrooted_must_root, non_snake_case)]
+#[allow(crown::unrooted_must_root, non_snake_case)]
pub fn Fetch(
global: &GlobalScope,
input: RequestInfo,
@@ -211,7 +211,7 @@ impl FetchResponseListener for FetchContext {
// TODO
}
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
fn process_response(&mut self, fetch_metadata: Result<FetchMetadata, NetworkError>) {
let promise = self
.fetch_promise