Skip to content

Commit

Permalink
Shield clippy from my anti-idiomatic acts of crime
Browse files Browse the repository at this point in the history
  • Loading branch information
cohaereo committed May 25, 2024
1 parent d6f8333 commit c967036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/alkahest-renderer/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub fn short_type_name<T: Any>() -> &'static str {
/// Nice immutable reference you got there, would be a shame if someone were to mutate it...
pub trait Hocus {
/// I'LL STEAL IT, NO ONE WILL EVER KNOW!
#[allow(clippy::mut_from_ref)]
fn pocus(&self) -> &mut Self;
}

Expand Down

0 comments on commit c967036

Please sign in to comment.