diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-30 17:29:32 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-06-21 19:30:26 +0000 |
| commit | 84f45bb0930a0696f8d0bcb8b480bc194da80db1 (patch) | |
| tree | ead6358aefe97d091fd69d60010ea62ae54c4298 /compiler/rustc_codegen_ssa/src/traits | |
| parent | 887f57ff0bd0664bfb901321048302f0879e1be2 (diff) | |
| download | rust-84f45bb0930a0696f8d0bcb8b480bc194da80db1.tar.gz rust-84f45bb0930a0696f8d0bcb8b480bc194da80db1.zip | |
Fix doc comment
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/traits')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/type_.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/type_.rs b/compiler/rustc_codegen_ssa/src/traits/type_.rs index e492bba969e..b1bad6cfa6f 100644 --- a/compiler/rustc_codegen_ssa/src/traits/type_.rs +++ b/compiler/rustc_codegen_ssa/src/traits/type_.rs @@ -113,8 +113,8 @@ pub trait LayoutTypeMethods<'tcx>: Backend<'tcx> { /// The backend type used for a rust type when it's in an SSA register. /// /// For nearly all types this is the same as the [`Self::backend_type`], however - /// `bool` (and other `0`-or-`1` values) are kept as [`BaseTypeMethods::type_i1`] - /// in registers but as [`BaseTypeMethods::type_i8`] in memory. + /// `bool` (and other `0`-or-`1` values) are kept as `i1` in registers but as + /// [`BaseTypeMethods::type_i8`] in memory. /// /// Converting values between the two different backend types is done using /// [`from_immediate`](super::BuilderMethods::from_immediate) and |
