diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /third_party/rust/plist/src | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/plist/src')
-rw-r--r-- | third_party/rust/plist/src/lib.rs | 2 | ||||
-rw-r--r-- | third_party/rust/plist/src/stream/binary_writer.rs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/third_party/rust/plist/src/lib.rs b/third_party/rust/plist/src/lib.rs index 0ac048e30d..018bbe7d94 100644 --- a/third_party/rust/plist/src/lib.rs +++ b/third_party/rust/plist/src/lib.rs @@ -72,6 +72,8 @@ //! specify a tilde requirement e.g. `plist = "~1.0.3"` in you `Cargo.toml` so that the plist crate //! is not automatically updated to version 1.1. +#![allow(warnings)] // Third-party + pub mod dictionary; #[cfg(feature = "enable_unstable_features_that_may_break_with_minor_version_bumps")] diff --git a/third_party/rust/plist/src/stream/binary_writer.rs b/third_party/rust/plist/src/stream/binary_writer.rs index 0e04dbe865..690e2092a2 100644 --- a/third_party/rust/plist/src/stream/binary_writer.rs +++ b/third_party/rust/plist/src/stream/binary_writer.rs @@ -577,7 +577,7 @@ fn is_even(value: usize) -> bool { fn value_mut<'a>( values: &'a mut IndexMap<Value<'static>, ValueState>, value_index: usize, -) -> (&'a mut Value<'static>, &'a mut ValueState) { +) -> (&'a Value<'static>, &'a mut ValueState) { values .get_index_mut(value_index) .expect("internal consistency error") |