Skip to content

Commit

Permalink
removed an unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
nstilt1 committed Jan 21, 2024
1 parent a1fab63 commit 194b831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rand_core/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ mod test {
type Results = [u32; 16];

fn generate(&mut self, results: &mut Self::Results) {
for r in results.as_mut() {
for r in results {
*r = self.counter;
self.counter = self.counter.wrapping_add(3511615421);
}
Expand Down Expand Up @@ -520,7 +520,7 @@ mod test {
type Results = [u64; 8];

fn generate(&mut self, results: &mut Self::Results) {
for r in results.as_mut() {
for r in results {
*r = self.counter;
self.counter = self.counter.wrapping_add(2781463553396133981);
}
Expand Down

0 comments on commit 194b831

Please sign in to comment.