Closed Peppe3009 closed 2 years ago
As form of improvement I introduced the method are_bits_on in bitwise.rs to check if a certain sequence of bit is all set to 1; In this way it is possible to get rid of redundant code in SingleDataTransfer.
are_bits_on
bitwise.rs
SingleDataTransfer
Great!
As form of improvement I introduced the method
are_bits_on
inbitwise.rs
to check if a certain sequence of bit is all set to 1; In this way it is possible to get rid of redundant code inSingleDataTransfer
.