Skip to content

Commit 58bedd2

Browse files
committed
fix(codegen): Fix CLI help spelling.
1 parent 1c5947f commit 58bedd2

File tree

1 file changed

+2
-2
lines changed
  • reginald_codegen/src/builtin/c/funcpack

1 file changed

+2
-2
lines changed

reginald_codegen/src/builtin/c/funcpack/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub struct GeneratorOpts {
4848
#[cfg_attr(feature = "cli", arg(conflicts_with("dont_generate")))]
4949
pub endian: Vec<Endianess>,
5050

51-
/// For other endianess, generate only simple functions that defers to this implementaiton.
51+
/// For other endianess, generate only simple functions that defers to this implementation.
5252
///
5353
/// If generating both endianess versions, only generate one complete
5454
/// function implementation and have the other endianess defer to this
@@ -59,7 +59,7 @@ pub struct GeneratorOpts {
5959

6060
/// Make register structs bitfields to reduce their memory size
6161
///
62-
/// Note that their memory layout will not match the actual register
62+
/// May reduce performance. Note that their memory layout will not match the actual register
6363
/// and the (un)packing functions must still be used.
6464
#[cfg_attr(feature = "cli", arg(long))]
6565
#[cfg_attr(feature = "cli", arg(action = clap::ArgAction::Set))]

0 commit comments

Comments
 (0)