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.
1 parent 85545dd commit c84936eCopy full SHA for c84936e
compiler/rustc_middle/src/ty/layout.rs
@@ -3498,7 +3498,7 @@ fn make_thin_self_ptr<'tcx>(
3498
///
3499
/// This code is intentionally conservative, and will not detect
3500
/// * making uninitialized types who have a full valid range (ints, floats, raw pointers)
3501
-/// * uninit invalid &[T] where T has align 1 (only inside arrays)
+/// * uninit invalid `&[T]` where T has align 1 (only inside arrays)
3502
3503
/// A strict form of these checks that uses const evaluation exists in
3504
/// `rustc_const_eval::might_permit_raw_init`, and a tracking issue for making these checks
0 commit comments