diff --git a/src/array/utf8/mutable.rs b/src/array/utf8/mutable.rs index cc8b170855e..b81d47c1cdc 100644 --- a/src/array/utf8/mutable.rs +++ b/src/array/utf8/mutable.rs @@ -159,6 +159,7 @@ impl MutableUtf8Array { /// Pushes a new element to the array. /// # Panic /// This operation panics iff the length of all values (in bytes) exceeds `O` maximum value. + #[inline] pub fn push>(&mut self, value: Option) { self.try_push(value).unwrap() } @@ -251,6 +252,7 @@ impl MutableArray for MutableUtf8Array { self } + #[inline] fn push_null(&mut self) { self.push::<&str>(None) } @@ -464,6 +466,7 @@ impl> TryExtend> for MutableUtf8Array { } impl> TryPush> for MutableUtf8Array { + #[inline] fn try_push(&mut self, value: Option) -> Result<()> { match value { Some(value) => {