Skip to content

Commit 33ad405

Browse files
committed
Add #[inline] to non-generic functions
1 parent 810c043 commit 33ad405

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ struct RawIter {
355355
index: usize,
356356
}
357357
impl RawIter {
358+
#[inline]
358359
fn new() -> Self {
359360
Self {
360361
yielded: 0,
@@ -411,6 +412,7 @@ impl RawIter {
411412
}
412413
}
413414

415+
#[inline]
414416
fn next_bucket(&mut self) {
415417
if self.bucket != 0 {
416418
self.bucket_size <<= 1;

0 commit comments

Comments
 (0)