Explorar o código

Fix typo in docs for NodeFactory.bump

Dave Rolsky %!s(int64=3) %!d(string=hai) anos
pai
achega
69752313eb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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