changeset 14034 | 259175ab7e8c |
parent 14032 | cef0c685fda8 |
child 14157 | 5acfdf49742d |
--- a/rust/lfprng/src/lib.rs Mon Oct 29 23:38:08 2018 +0300 +++ b/rust/lfprng/src/lib.rs Mon Oct 29 23:40:17 2018 +0300 @@ -24,7 +24,7 @@ } #[inline] - pub fn get_next(&mut self) -> u32 { + fn get_next(&mut self) -> u32 { self.index = (self.index + 1) & 0x3f; self.circular_buffer[self.index] = (self.circular_buffer[(self.index + 40) & 0x3f] + self.circular_buffer[(self.index + 9) & 0x3f])