Fix typo in docs for NodeFactory.bump

This commit is contained in:
Dave Rolsky 2022-04-11 10:33:06 -05:00 committed by GitHub
parent ab4f75e4ea
commit 69752313eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -508,7 +508,7 @@ impl<'a> NodeFactory<'a> {
} }
} }
/// Get the custom alloactor for this component /// Get the custom allocator for this component
#[inline] #[inline]
pub fn bump(&self) -> &'a bumpalo::Bump { pub fn bump(&self) -> &'a bumpalo::Bump {
self.bump self.bump