Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Update docstring for SumTree (#10927)
Thorsten Ballf7ea1370a454
diff --git a/crates/sum_tree/src/sum_tree.rs b/crates/sum_tree/src/sum_tree.rsindex 3909ef1b39f..6b32a80445d 100644--- a/crates/sum_tree/src/sum_tree.rs+++ b/crates/sum_tree/src/sum_tree.rs@@ -151,8 +151,10 @@ impl Bias {}}-/// A B-tree where each leaf node contains an [`Item`] of type `T`,-/// and each internal node contains a [`Summary`] of the items in its subtree.+/// A B+ tree in which each leaf node contains `Item`s of type `T` and a `Summary`s for each `Item`.+/// Each internal node contains a `Summary` of the items in its subtree.+///+/// The maximum number of items per node is `TREE_BASE * 2`.////// Any [`Dimension`] supported by the [`Summary`] type can be used to seek to a specific location in the tree.#[derive(Debug, Clone)]