@@ -35,20 +35,20 @@ use helpers::ignore;
3535/// a block of code with the following items:
3636///
3737/// - `default`: The default value for the field. If this item is omitted, `Default::default()` is
38- /// used instead, meaning that the type of the field must implement `Default`.
38+ /// used instead, meaning that the type of the field must implement `Default`.
3939/// - `methods`: A block of code containing methods for the `Builder` type. These methods should be
40- /// related to the field being declared.
40+ /// related to the field being declared.
4141/// - `as_args`: This item declares how the field should be converted into a valid CLI argument for
42- /// `bindgen` and is used in the [`Builder::command_line_flags`] method which is used to do a
43- /// roundtrip test of the CLI args in the `bindgen-test` crate. This item can take one of the
44- /// following:
42+ /// `bindgen` and is used in the [`Builder::command_line_flags`] method which is used to do a
43+ /// roundtrip test of the CLI args in the `bindgen-test` crate. This item can take one of the
44+ /// following:
4545/// - A string literal with the flag if the type of the field implements the [`AsArgs`] trait.
4646/// - A closure with the signature `|field, args: &mut Vec<String>| -> ()` that pushes arguments
47- /// into the `args` buffer based on the value of the field. This is used if the field does not
48- /// implement `AsArgs` or if the implementation of the trait is not logically correct for the
49- /// option and a custom behavior must be taken into account.
47+ /// into the `args` buffer based on the value of the field. This is used if the field does not
48+ /// implement `AsArgs` or if the implementation of the trait is not logically correct for the
49+ /// option and a custom behavior must be taken into account.
5050/// - The `ignore` literal, which does not emit any CLI arguments for this field. This is useful
51- /// if the field cannot be used from the `bindgen` CLI.
51+ /// if the field cannot be used from the `bindgen` CLI.
5252///
5353/// As an example, this would be the declaration of a `bool` field called `be_fun` whose default
5454/// value is `false` (the `Default` value for `bool`):
0 commit comments