This story is simplified from an attempt to write an AST walker for a toy compiler, but the essential facts are unchanged.
I am fairly new to Rust (but an experienced C++ programmer) and am
trying to write a program to map an FnMut
over a binary tree. I
start with a simple tree definition, and try to write what seems to me
to be the straightforward code:
use std::rc::Rc;