diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-06-19 16:07:13 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-06-22 14:59:09 +0200 |
commit | 1d38bc041967b88838ed7b006aab9908e2f24474 (patch) | |
tree | 9ae175710524777f97a14a85e52dacfd71a5dedd /components/script/dom/xmlhttprequest.rs | |
parent | 112f1ddeba3d79c9e892986a9e550e4eef933b1f (diff) | |
download | servo-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.rs | 2 |
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; |