Skip to content

Commit

Permalink
[unstable-rust] Fix/suppress dubious clippy::needless_pass_by_ref_mut
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Dec 11, 2023
1 parent 38729f9 commit 8151d96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions all-is-cubes-content/src/fractal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use all_is_cubes::universe::Universe;

use crate::DemoBlocks;

#[allow(clippy::needless_pass_by_ref_mut)]
pub(crate) fn menger_sponge(
universe: &mut Universe,
world_levels: u8,
Expand Down
1 change: 1 addition & 0 deletions all-is-cubes-content/src/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ impl WhenceUniverse for TemplateAndParameters {

// -- Specific templates below this point ---

#[allow(clippy::needless_pass_by_ref_mut)]
async fn islands(
universe: &mut Universe,
p: YieldProgress,
Expand Down

0 comments on commit 8151d96

Please sign in to comment.