mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
update for shared state and improved performance
This commit is contained in:
@@ -81,7 +81,7 @@ impl BitArray {
|
||||
* @return true iff bit i is set
|
||||
*/
|
||||
pub fn get(&self, i: usize) -> bool {
|
||||
return (self.bits[i / 32] & (1 << (i & 0x1F))) != 0;
|
||||
(self.bits[i / 32] & (1 << (i & 0x1F))) != 0
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user