aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/request.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/request.rs')
-rw-r--r--components/script/dom/request.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/request.rs b/components/script/dom/request.rs
index 438c49a6407..4a7ae2482a4 100644
--- a/components/script/dom/request.rs
+++ b/components/script/dom/request.rs
@@ -379,12 +379,12 @@ impl Request {
HttpMethod::GET => {
return Err(Error::Type(
"Init's body is non-null, and request method is GET".to_string(),
- ))
+ ));
},
HttpMethod::HEAD => {
return Err(Error::Type(
"Init's body is non-null, and request method is HEAD".to_string(),
- ))
+ ));
},
_ => {},
}