(
node: N,
f: &mut F,
)
| 258 | ) -> Result<Transformed<Self>> { |
| 259 | #[cfg_attr(feature = "recursive_protection", recursive::recursive)] |
| 260 | fn transform_up_impl<N: TreeNode, F: FnMut(N) -> Result<Transformed<N>>>( |
| 261 | node: N, |
| 262 | f: &mut F, |
| 263 | ) -> Result<Transformed<N>> { |
| 264 | node.map_children(|c| transform_up_impl(c, f))? |
| 265 | .transform_parent(f) |
| 266 | } |
| 267 | |
| 268 | transform_up_impl(self, &mut f) |
| 269 | } |
nothing calls this directly
no test coverage detected