Skip to content

Commit

Permalink
Allow the unnecessary_operation clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dekkonot committed Jan 2, 2025
1 parent 7d639f3 commit a1d2d37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rbx_reflection_database/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ mod test {
fn local_location() {
#[allow(unused_mut, reason = "this path needs to be mutated on macos")]
let mut home_from_env;
#[allow(
clippy::unnecessary_operation,
reason = "attributes on statements are currently unstable so this cannot be reduced"
)]
#[cfg(target_os = "windows")]
{
home_from_env = PathBuf::from(env!("LOCALAPPDATA"));
Expand Down

0 comments on commit a1d2d37

Please sign in to comment.