aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/headers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/headers.rs')
-rw-r--r--components/script/dom/headers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/headers.rs b/components/script/dom/headers.rs
index c83f4c2e0a8..0634d205574 100644
--- a/components/script/dom/headers.rs
+++ b/components/script/dom/headers.rs
@@ -443,7 +443,7 @@ fn index_of_last_non_whitespace(value: &ByteString) -> Option<usize> {
// http://tools.ietf.org/html/rfc7230#section-3.2
fn is_field_name(name: &ByteString) -> bool {
- is_token(&*name)
+ is_token(name)
}
// https://fetch.spec.whatg.org/#concept-header-value