瀏覽代碼

Merge pull request #350 from autarch/patch-1

Jon Kelley 3 年之前
父節點
當前提交
87ee8e1ca5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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]
     #[inline]
     pub fn bump(&self) -> &'a bumpalo::Bump {
     pub fn bump(&self) -> &'a bumpalo::Bump {
         self.bump
         self.bump