Skip to content

Commit

Permalink
Suppress spurious Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlf committed Aug 3, 2023
1 parent 1740497 commit 29a042f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,7 @@ macro_rules! transmute {
// were to use `core::mem::transmute`, this macro would not work in
// `std` contexts in which `core` was not manually imported. This is
// not a problem for 2018 edition crates.
#[allow(clippy::undocumented_unsafe_blocks)]
unsafe { $crate::__real_transmute(e) }
}
}}
Expand Down

0 comments on commit 29a042f

Please sign in to comment.