4 ms·
Another one is traversing enums in Rust: https://docs.rs/syn/0.15/syn/enum.Expr.html#syntax-tree-enums https://docs.rs/syn/0.15/syn/enum.Expr.html#syntax-tree-e
by swsieber 8y ago
Another one is traversing enums in Rust: https://docs.rs/syn/0.15/syn/enum.Expr.html#syntax-tree-enums https://docs.rs/syn/0.15/syn/enum.Expr.html#syntax-tree-enum...
- Animats 8y agoThose are examples of why shadowing is bad. Too-cute use of a risky feature. When looking for usage of a variable by search, it's helpful that there not be shadowing. Cuteness means trouble for maintenance programmers.