File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
reginald_codegen/src/builtin/c/funcpack Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ) ) ]
You can’t perform that action at this time.
0 commit comments