Skip to content

Commit c84936e

Browse files
committed
Fix docs
1 parent 85545dd commit c84936e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3498,7 +3498,7 @@ fn make_thin_self_ptr<'tcx>(
34983498
///
34993499
/// This code is intentionally conservative, and will not detect
35003500
/// * 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)
3501+
/// * uninit invalid `&[T]` where T has align 1 (only inside arrays)
35023502
///
35033503
/// A strict form of these checks that uses const evaluation exists in
35043504
/// `rustc_const_eval::might_permit_raw_init`, and a tracking issue for making these checks

0 commit comments

Comments
 (0)