Skip to content

Commit 57b9ebe

Browse files
author
Markus Westerlind
committed
Add some missing inline annotations
1 parent 2dc9bb2 commit 57b9ebe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/raw/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,6 +2082,7 @@ struct RawIterHashInner<'a> {
20822082
}
20832083

20842084
impl<'a, T> RawIterHash<'a, T> {
2085+
#[cfg_attr(feature = "inline-more", inline)]
20852086
fn new(table: &'a RawTable<T>, hash: u64) -> Self {
20862087
RawIterHash {
20872088
inner: RawIterHashInner::new(&table.table, hash),
@@ -2115,6 +2116,7 @@ impl<'a> RawIterHashInner<'a> {
21152116
impl<'a, T> Iterator for RawIterHash<'a, T> {
21162117
type Item = Bucket<T>;
21172118

2119+
#[cfg_attr(feature = "inline-more", inline)]
21182120
fn next(&mut self) -> Option<Bucket<T>> {
21192121
unsafe {
21202122
match self.inner.next() {

0 commit comments

Comments
 (0)