Skip to content

Commit

Permalink
misc: Allow shared reference to mutable static
Browse files Browse the repository at this point in the history
We know what we are doing within `tracer` crate, disable lint on these
shared reference to mutable static.

Signed-off-by: Ruoqing He <[email protected]>
  • Loading branch information
RuoqingHe authored and rbradford committed Oct 20, 2024
1 parent 0e209ed commit ebfc8df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tracer/src/tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// SPDX-License-Identifier: Apache-2.0
//

#![allow(static_mut_refs)]

use std::collections::HashMap;
use std::fs::File;
use std::io::Write;
Expand Down

0 comments on commit ebfc8df

Please sign in to comment.