Skip to content

Commit

Permalink
fix up doc comment on RawStructSchema::members_by_name
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed Jan 14, 2024
1 parent 033d7bf commit 15d7960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capnp/src/introspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
}

Expand Down

0 comments on commit 15d7960

Please sign in to comment.