Skip to content

Commit ad17b4a

Browse files
committed
Fix documentation links to use expand instead of resize
1 parent 4a80c2c commit ad17b4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/patina_internal_collections/src/bst.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ where
3232
///
3333
/// This is useful for creating a tree at compile time and replacing the memory later. Use
3434
/// [with_capacity](Self::with_capacity) to create a tree with a given slice of memory immediately. Otherwise use
35-
/// [resize](Self::resize) to replace the memory later.
35+
/// [expand](Self::expand) to replace the memory later.
3636
pub const fn new() -> Self {
3737
Bst { storage: Storage::new(), root: Cell::new(core::ptr::null_mut()) }
3838
}

core/patina_internal_collections/src/rbt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ where
3434
///
3535
/// This is useful for creating a tree at compile time and replacing the memory later. Use
3636
/// [with_capacity](Self::with_capacity) to create a tree with a given slice of memory immediately. Otherwise use
37-
/// [resize](Self::resize) to replace the memory later.
37+
/// [expand](Self::expand) to replace the memory later.
3838
pub const fn new() -> Self {
3939
Rbt { storage: Storage::new(), root: Cell::new(core::ptr::null_mut()) }
4040
}

0 commit comments

Comments
 (0)