This commit is contained in:
A L Manning 2025-04-29 09:43:25 +00:00 committed by GitHub
commit 1ad49c38a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ pub struct LocatedTree<A, V> {
impl<A, V> LocatedTree<A, V> { impl<A, V> LocatedTree<A, V> {
/// Constructs a new LocatedTree from its constituent parts. /// Constructs a new LocatedTree from its constituent parts.
/// ///
/// Returns the newly constructed error, or the address at which the provided tree extends /// Returns the newly constructed LocatedTree, or the address at which the provided tree extends
/// beyond the position range of the provided root address. /// beyond the position range of the provided root address.
pub fn from_parts(root_addr: Address, root: Tree<A, V>) -> Result<Self, Address> { pub fn from_parts(root_addr: Address, root: Tree<A, V>) -> Result<Self, Address> {
// In order to meet various pre-conditions throughout the crate, we require that // In order to meet various pre-conditions throughout the crate, we require that