From 15d7960fab6ec236d4d01e2dc47301bdc85b4df0 Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Sun, 14 Jan 2024 15:51:58 -0500 Subject: [PATCH] fix up doc comment on RawStructSchema::members_by_name --- capnp/src/introspect.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], }