Skip to content

Commit 2ae75f6

Browse files
authored
Add missing #[inline] to get_fixed_seeds (#149)
This was missing on the fallback implementation that uses compile-time constants, which is the default implementation used by hashbrown.
1 parent ac1fa3c commit 2ae75f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/random_state.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ cfg_if::cfg_if! {
103103
&RAND
104104
}
105105
} else {
106+
#[inline]
106107
fn get_fixed_seeds() -> &'static [[u64; 4]; 2] {
107108
&[PI, PI2]
108109
}

0 commit comments

Comments
 (0)