If you use ~Expr instead of @Expr, then the expressions would have to form
a tree (A = B + C). If you use Rc<Expr>, you could build a DAG (A = B + B).
With @Expr (if that worked), in principle you could allow for cycles (A = B
+ A), which is probably not what you want.


On Mon, Oct 28, 2013 at 8:25 PM, Steve Klabnik <[email protected]>wrote:

> Yes, Oren is right here. You probably want to be using ~s rather than @s.
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to