Skip to content

Commit ef55d84

Browse files
committed
Add #[inline(always)] for space savings
1 parent 62fd2f7 commit ef55d84

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
@@ -162,6 +162,7 @@ impl EthernetMAC {
162162
}
163163

164164
/// Configure the frame filtering performed by this MAC.
165+
#[inline(always)]
165166
pub fn configure_filtering(&self, filtering_config: &FrameFilteringMode) {
166167
filtering_config.configure(&self.eth_mac);
167168
}

0 commit comments

Comments
 (0)