Skip to content

Commit

Permalink
Remove mutable_borrow_reservation_conflict allow
Browse files Browse the repository at this point in the history
```
warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 <rust-lang/rust#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
```
  • Loading branch information
jason-h-35 authored Aug 9, 2022
1 parent 18625a6 commit 711c747
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(_) => {
Expand Down

0 comments on commit 711c747

Please sign in to comment.