diff --git a/capnp/src/introspect.rs b/capnp/src/introspect.rs index c6ba7a82e..00ba6fc19 100644 --- a/capnp/src/introspect.rs +++ b/capnp/src/introspect.rs @@ -214,7 +214,7 @@ pub struct RawStructSchema { /// Map from discriminant value to field index. pub members_by_discriminant: &'static [u16], - // Sorted array of field names with matching field index. + /// Indices of fields, sorted by their respective names. pub members_by_name: &'static [u16], }