From 711c747252a818b817285744c09e375efc62bc8f Mon Sep 17 00:00:00 2001 From: Jason Hatton Date: Mon, 8 Aug 2022 21:09:48 -0500 Subject: [PATCH] Remove `mutable_borrow_reservation_conflict` allow ``` warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information --> src/session.rs:2681:21 | 2681 | #[allow(mutable_borrow_reservation_conflict)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(renamed_and_removed_lints)]` on by default warning: `rx` (lib) generated 1 warning ``` --- src/session.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/session.rs b/src/session.rs index b59c479..93b82f5 100644 --- a/src/session.rs +++ b/src/session.rs @@ -2678,7 +2678,6 @@ impl Session { } } } - #[allow(mutable_borrow_reservation_conflict)] Command::Toggle(ref k) => match self.settings.get(k) { Some(Value::Bool(b)) => self.command(Command::Set(k.clone(), Value::Bool(!b))), Some(_) => {