chore: inline some methods

This commit is contained in:
2021-07-28 14:53:41 -05:00
parent 903cfacad3
commit 8724da824e
2 changed files with 4 additions and 2 deletions

View File

@@ -166,6 +166,7 @@ impl Apu {
self.prod = Some(prod);
}
#[inline]
pub(crate) fn is_full(&self) -> bool {
match self.prod.as_ref() {
Some(prod) => prod.is_full(),