File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2463,8 +2463,10 @@ where
2463
2463
/// Recursively sets the data of all nodes belonging to the subtree rooted at this node using the `compute_data`
2464
2464
/// function.
2465
2465
///
2466
- /// Alternatively, sets values of all nodes when the value of a node is defined as a function of its prior value
2467
- /// and values of its children (hence, it recursively depends on values of all descendants).
2466
+ /// This method provides an expressive way to update the values of a tree where value of a node is a function of
2467
+ /// its prior value and values of its children. Since the values of its children subsequently depend on their own
2468
+ /// children, it immediately follows that the value of the node depends on values of all of its descendants that
2469
+ /// must be computed to be able to compute the node's value.
2468
2470
///
2469
2471
/// The `compute_data` function takes two arguments:
2470
2472
///
You can’t perform that action at this time.
0 commit comments