Skip to content

Commit 84f45bb

Browse files
committed
Fix doc comment
1 parent 887f57f commit 84f45bb

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_codegen_ssa/src/traits

1 file changed

+2
-2
lines changed

Diff for: compiler/rustc_codegen_ssa/src/traits/type_.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ pub trait LayoutTypeMethods<'tcx>: Backend<'tcx> {
113113
/// The backend type used for a rust type when it's in an SSA register.
114114
///
115115
/// For nearly all types this is the same as the [`Self::backend_type`], however
116-
/// `bool` (and other `0`-or-`1` values) are kept as [`BaseTypeMethods::type_i1`]
117-
/// in registers but as [`BaseTypeMethods::type_i8`] in memory.
116+
/// `bool` (and other `0`-or-`1` values) are kept as `i1` in registers but as
117+
/// [`BaseTypeMethods::type_i8`] in memory.
118118
///
119119
/// Converting values between the two different backend types is done using
120120
/// [`from_immediate`](super::BuilderMethods::from_immediate) and

0 commit comments

Comments
 (0)