diff --git a/components/hashglobe/src/lib.rs b/components/hashglobe/src/lib.rs index 8c107148066..cbbdacb4c8d 100644 --- a/components/hashglobe/src/lib.rs +++ b/components/hashglobe/src/lib.rs @@ -34,6 +34,7 @@ pub struct FailedAllocationError { } impl FailedAllocationError { + #[inline] pub fn new(reason: &'static str) -> Self { Self { reason } }