Skip to content

Commit

Permalink
fix: xor_shift_new inconsistent description
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuenhoy committed Aug 11, 2020
1 parent 994ad78 commit 591b64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/std_lib/random.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn xor_shift_new(seed: &[u8]) -> RuntimeResult<XorShiftRng, String> {
seed,
)))
} else {
RuntimeResult::Panic("Expected xorshift seed to have 4 elements".to_string())
RuntimeResult::Panic("Expected xorshift seed to have 16 elements".to_string())
}
}

Expand Down

0 comments on commit 591b64b

Please sign in to comment.