about summary refs log tree commit diff
diff options
context:
space:
mode:
authorscottmcm <scottmcm@users.noreply.github.com>2025-06-06 09:30:40 +0000
committerGitHub <noreply@github.com>2025-06-06 09:30:40 +0000
commitf9cf0964db531b234e374dfd6330e0aa0c427db0 (patch)
tree48d5a1511b563a9dd2a25b1cd80dba0e6a70bc2c
parent8bce2255e826a11d1aa345d1786f85d22c5f921a (diff)
downloadrust-f9cf0964db531b234e374dfd6330e0aa0c427db0.tar.gz
rust-f9cf0964db531b234e374dfd6330e0aa0c427db0.zip
Update compiler/rustc_abi/src/layout/ty.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
-rw-r--r--compiler/rustc_abi/src/layout/ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_abi/src/layout/ty.rs b/compiler/rustc_abi/src/layout/ty.rs
index eb49b977257..b5f93351d68 100644
--- a/compiler/rustc_abi/src/layout/ty.rs
+++ b/compiler/rustc_abi/src/layout/ty.rs
@@ -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);