author | alfadur |
Mon, 29 Oct 2018 23:40:17 +0300 | |
changeset 14034 | 259175ab7e8c |
parent 14033 | 0f517cbfe16d |
child 14035 | 2ebd505e62c1 |
child 14055 | 4b40bdd214df |
--- 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])