Skip to content

Commit

Permalink
rust: remove allow of static mutables
Browse files Browse the repository at this point in the history
As references to static mutables are highly discouraged, remove the
global suppressing of the compiler warning. Each use case can be
suppressed as needed.

Ticket: #7417
  • Loading branch information
jasonish authored and victorjulien committed Feb 27, 2025
1 parent 4a2f10d commit c33bebd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
// example static_mut_refs.
#![allow(unknown_lints)]

// Allow for now, but need to be fixed.
#![allow(static_mut_refs)]

#[macro_use]
extern crate bitflags;
extern crate byteorder;
Expand Down

0 comments on commit c33bebd

Please sign in to comment.