Skip to content

Commit f9cf096

Browse files
scottmcmRalfJung
andauthored
Update compiler/rustc_abi/src/layout/ty.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 8bce225 commit f9cf096

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_abi/src/layout

1 file changed

+1
-1
lines changed

compiler/rustc_abi/src/layout/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ rustc_index::newtype_index! {
4040
}
4141

4242
impl FieldIdx {
43-
/// The second field.
43+
/// The second field, at index 1.
4444
///
4545
/// For use alongside [`FieldIdx::ZERO`], particularly with scalar pairs.
4646
pub const ONE: FieldIdx = FieldIdx::from_u32(1);

0 commit comments

Comments
 (0)