Skip to content

Commit aa050c7

Browse files
committed
Fix doc comment
1 parent 1b1e8bd commit aa050c7

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

compiler/rustc_codegen_ssa/src/traits/type_.rs

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

0 commit comments

Comments
 (0)