We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f890d4 + f831b09 commit f0d2170Copy full SHA for f0d2170
clippy_lints/src/types.rs
@@ -789,7 +789,8 @@ declare_clippy_lint! {
789
/// **Why is this bad?** Dereferencing the resulting pointer may be undefined
790
/// behavior.
791
///
792
- /// **Known problems:** None.
+ /// **Known problems:** Using `std::ptr::read_unaligned` and `std::ptr::write_unaligned` or similar
793
+ /// on the resulting pointer is fine.
794
795
/// **Example:**
796
/// ```rust
0 commit comments