Commit 806bd09d authored by Luke Sandberg's avatar Luke Sandberg Committed by Luke Sandberg

tweak comment

parent 8769f4c3
...@@ -135,7 +135,7 @@ impl FoundBitset { ...@@ -135,7 +135,7 @@ impl FoundBitset {
self.words[wi] |= 1 << bi; self.words[wi] |= 1 << bi;
} }
/// Returns the number of bits that are set (i.e. not yet found). /// Returns the number of bits that are set.
pub(crate) fn count_ones(&self) -> usize { pub(crate) fn count_ones(&self) -> usize {
self.words.iter().map(|w| w.count_ones()).sum::<u32>() as usize self.words.iter().map(|w| w.count_ones()).sum::<u32>() as usize
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment