Просмотр исходного кода

Fix typo in docs for NodeFactory.bump

Dave Rolsky 3 лет назад
Родитель
Сommit
69752313eb
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]
     pub fn bump(&self) -> &'a bumpalo::Bump {
         self.bump