You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clippy_lints/src/casts/mod.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -219,7 +219,7 @@ declare_clippy_lint! {
219
219
/// Dereferencing the resulting pointer may be undefined behavior.
220
220
///
221
221
/// ### Known problems
222
-
/// Using [`std::ptr::read_unaligned`] and [`std::ptr::write_unaligned`] or
222
+
/// Using [`std::ptr::read_unaligned`](https://doc.rust-lang.org/std/ptr/fn.read_unaligned.html) and [`std::ptr::write_unaligned`](https://doc.rust-lang.org/std/ptr/fn.write_unaligned.html) or
223
223
/// similar on the resulting pointer is fine. Is over-zealous: casts with
224
224
/// manual alignment checks or casts like `u64` -> `u8` -> `u16` can be
225
225
/// fine. Miri is able to do a more in-depth analysis.
0 commit comments