diff options
author | eri <eri@inventati.org> | 2024-03-21 13:51:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 12:51:45 +0000 |
commit | da696b7e57fd4fbf615b3853ac48cf522e87e098 (patch) | |
tree | c52bb9149c8f38a3484838ca78729de4ca788048 /components/url | |
parent | ea62a5e24f5c9a3b7c0588506f7a38de9ddbcd67 (diff) | |
download | servo-da696b7e57fd4fbf615b3853ac48cf522e87e098.tar.gz servo-da696b7e57fd4fbf615b3853ac48cf522e87e098.zip |
clippy: fix `result_unit_err` warnings (#31791)
* clippy: fix `result_unit_err` warnings
* feat: fix result warnings in script
* doc: document `generate_key` return type
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* feat: add back result to RangeRequestBounds::get_final
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/url')
-rw-r--r-- | components/url/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/url/lib.rs b/components/url/lib.rs index 89ff2c3f96b..6fc0d145b96 100644 --- a/components/url/lib.rs +++ b/components/url/lib.rs @@ -3,6 +3,7 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #![deny(unsafe_code)] +#![allow(clippy::result_unit_err)] #![crate_name = "servo_url"] #![crate_type = "rlib"] |