Skip to content

Commit 6b39f9c

Browse files
committed
Add #[inline(always)] for space savings
1 parent e5fddc5 commit 6b39f9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mac/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ impl EthernetMAC {
206206
}
207207

208208
/// Configure the frame filtering performed by this MAC.
209+
#[inline(always)]
209210
pub fn configure_filtering(&self, filtering_config: &FrameFilteringMode) {
210211
filtering_config.configure(&self.eth_mac);
211212
}

0 commit comments

Comments
 (0)