(
node: N,
f: &mut F,
)
| 234 | ) -> Result<Transformed<Self>> { |
| 235 | #[cfg_attr(feature = "recursive_protection", recursive::recursive)] |
| 236 | fn transform_down_impl<N: TreeNode, F: FnMut(N) -> Result<Transformed<N>>>( |
| 237 | node: N, |
| 238 | f: &mut F, |
| 239 | ) -> Result<Transformed<N>> { |
| 240 | f(node)?.transform_children(|n| n.map_children(|c| transform_down_impl(c, f))) |
| 241 | } |
| 242 | |
| 243 | transform_down_impl(self, &mut f) |
| 244 | } |
nothing calls this directly
no test coverage detected