Update compiler/rustc_abi/src/layout/ty.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
8bce2255e8
commit
f9cf0964db
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ rustc_index::newtype_index! {
|
|||
}
|
||||
|
||||
impl FieldIdx {
|
||||
/// The second field.
|
||||
/// The second field, at index 1.
|
||||
///
|
||||
/// For use alongside [`FieldIdx::ZERO`], particularly with scalar pairs.
|
||||
pub const ONE: FieldIdx = FieldIdx::from_u32(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue