Browse Source

Fix typo in docs for NodeFactory.bump

Dave Rolsky 3 years ago
parent
commit
69752313eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/core/src/nodes.rs

+ 1 - 1
packages/core/src/nodes.rs

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