From 23c8e656011b9742f7034b28473d3df1dd60f9ab Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 31 Jan 2022 01:53:39 +0000 Subject: [PATCH] Remove #[inline] --- src/seeder.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/seeder.rs b/src/seeder.rs index bb08f62..722cd12 100644 --- a/src/seeder.rs +++ b/src/seeder.rs @@ -10,7 +10,6 @@ pub struct UwUSeeder { } impl UwUSeeder { - #[inline] pub fn new(word: &[u8], random: bool) -> UwUSeeder { let rand_u64 = if !random { let mut hasher = AHasher::new_with_keys(0, 0); @@ -25,12 +24,10 @@ impl UwUSeeder { } } - #[inline] pub fn random_float(&mut self) -> f64 { self.rng.gen_range(0.0..1.0) } - #[inline] pub fn random_int>(&mut self, range: R) -> T { self.rng.gen_range(range) }