Skip to content

Commit b27cb36

Browse files
bors[bot]Shuenhoy
andauthored
Merge #865
865: fix: xor_shift_new inconsistent description r=Marwes a=Shuenhoy Co-authored-by: Haoran SUN <[email protected]>
2 parents 994ad78 + 591b64b commit b27cb36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std_lib/random.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn xor_shift_new(seed: &[u8]) -> RuntimeResult<XorShiftRng, String> {
4545
seed,
4646
)))
4747
} else {
48-
RuntimeResult::Panic("Expected xorshift seed to have 4 elements".to_string())
48+
RuntimeResult::Panic("Expected xorshift seed to have 16 elements".to_string())
4949
}
5050
}
5151

0 commit comments

Comments
 (0)