Skip to content

Commit 5f7aa4b

Browse files
thedatakingemilio
authored andcommitted
Fix typos in the descriptions of a few flags
s/coma/comma/ in the strings added by PR #2866. Signed-off-by: Per Larsen <[email protected]>
1 parent de9627f commit 5f7aa4b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

bindgen/options/cli.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -474,28 +474,28 @@ struct BindgenCommand {
474474
/// Use DSTs to represent structures with flexible array members.
475475
#[arg(long)]
476476
flexarray_dst: bool,
477-
/// Derive custom traits on any kind of type. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a coma-separated list of derive macros.
477+
/// Derive custom traits on any kind of type. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a comma-separated list of derive macros.
478478
#[arg(long, value_name = "CUSTOM", value_parser = parse_custom_derive)]
479479
with_derive_custom: Vec<(Vec<String>, String)>,
480-
/// Derive custom traits on a `struct`. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a coma-separated list of derive macros.
480+
/// Derive custom traits on a `struct`. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a comma-separated list of derive macros.
481481
#[arg(long, value_name = "CUSTOM", value_parser = parse_custom_derive)]
482482
with_derive_custom_struct: Vec<(Vec<String>, String)>,
483-
/// Derive custom traits on an `enum`. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a coma-separated list of derive macros.
483+
/// Derive custom traits on an `enum`. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a comma-separated list of derive macros.
484484
#[arg(long, value_name = "CUSTOM", value_parser = parse_custom_derive)]
485485
with_derive_custom_enum: Vec<(Vec<String>, String)>,
486-
/// Derive custom traits on a `union`. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a coma-separated list of derive macros.
486+
/// Derive custom traits on a `union`. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a comma-separated list of derive macros.
487487
#[arg(long, value_name = "CUSTOM", value_parser = parse_custom_derive)]
488488
with_derive_custom_union: Vec<(Vec<String>, String)>,
489-
/// Add custom attributes on any kind of type. The CUSTOM value must be of the shape REGEX=ATTRIBUTE where ATTRIBUTE is a coma-separated list of attributes.
489+
/// Add custom attributes on any kind of type. The CUSTOM value must be of the shape REGEX=ATTRIBUTE where ATTRIBUTE is a comma-separated list of attributes.
490490
#[arg(long, value_name = "CUSTOM", value_parser = parse_custom_attribute)]
491491
with_attribute_custom: Vec<(Vec<String>, String)>,
492-
/// Add custom attributes on a `struct`. The CUSTOM value must be of the shape REGEX=ATTRIBUTE where ATTRIBUTE is a coma-separated list of attributes.
492+
/// Add custom attributes on a `struct`. The CUSTOM value must be of the shape REGEX=ATTRIBUTE where ATTRIBUTE is a comma-separated list of attributes.
493493
#[arg(long, value_name = "CUSTOM", value_parser = parse_custom_attribute)]
494494
with_attribute_custom_struct: Vec<(Vec<String>, String)>,
495-
/// Add custom attributes on an `enum`. The CUSTOM value must be of the shape REGEX=ATTRIBUTE where ATTRIBUTE is a coma-separated list of attributes.
495+
/// Add custom attributes on an `enum`. The CUSTOM value must be of the shape REGEX=ATTRIBUTE where ATTRIBUTE is a comma-separated list of attributes.
496496
#[arg(long, value_name = "CUSTOM", value_parser = parse_custom_attribute)]
497497
with_attribute_custom_enum: Vec<(Vec<String>, String)>,
498-
/// Add custom attributes on a `union`. The CUSTOM value must be of the shape REGEX=ATTRIBUTE where ATTRIBUTE is a coma-separated list of attributes.
498+
/// Add custom attributes on a `union`. The CUSTOM value must be of the shape REGEX=ATTRIBUTE where ATTRIBUTE is a comma-separated list of attributes.
499499
#[arg(long, value_name = "CUSTOM", value_parser = parse_custom_attribute)]
500500
with_attribute_custom_union: Vec<(Vec<String>, String)>,
501501
/// Generate wrappers for `static` and `static inline` functions.

0 commit comments

Comments
 (0)