aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-06-19 16:07:13 +0200
committerSimon Sapin <simon.sapin@exyr.org>2019-06-22 14:59:09 +0200
commit1d38bc041967b88838ed7b006aab9908e2f24474 (patch)
tree9ae175710524777f97a14a85e52dacfd71a5dedd /components/script/dom/xmlhttprequest.rs
parent112f1ddeba3d79c9e892986a9e550e4eef933b1f (diff)
downloadservo-1d38bc041967b88838ed7b006aab9908e2f24474.tar.gz
servo-1d38bc041967b88838ed7b006aab9908e2f24474.zip
Fix some new warnings
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r--components/script/dom/xmlhttprequest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs
index 583a179e43a..443a0711815 100644
--- a/components/script/dom/xmlhttprequest.rs
+++ b/components/script/dom/xmlhttprequest.rs
@@ -1668,7 +1668,7 @@ pub fn is_field_value(slice: &[u8]) -> bool {
false
}
},
- 0...31 | 127 => false, // CTLs
+ 0..=31 | 127 => false, // CTLs
x if x > 127 => false, // non ASCII
_ if prev == PreviousCharacter::Other || prev == PreviousCharacter::SPHT => {
prev = PreviousCharacter::Other;