From d74ea4af412e48d0a993d4140ec8e4b7e5c523bd Mon Sep 17 00:00:00 2001 From: Yason Khaburzaniya Date: Fri, 22 Nov 2024 11:45:06 -0800 Subject: [PATCH] fix: formatting --- core/src/mast/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/mast/mod.rs b/core/src/mast/mod.rs index 66430f5147..142c50b48d 100644 --- a/core/src/mast/mod.rs +++ b/core/src/mast/mod.rs @@ -537,8 +537,9 @@ impl MastNodeId { Self::from_u32_with_node_count(value, mast_forest.nodes.len()) } - /// Returns a new [`MastNodeId`] with the provided `node_id`, or an error if `node_id` is greater - /// than the number of nodes in the [`MastForest`] for which this ID is being constructed. + /// Returns a new [`MastNodeId`] with the provided `node_id`, or an error if `node_id` is + /// greater than the number of nodes in the [`MastForest`] for which this ID is being + /// constructed. pub fn from_usize_safe( node_id: usize, mast_forest: &MastForest,