>
>
> > may mutate `a`, while:
> >
> >     let mut a = ~["y"];
> >     push(a, b);
> >
> > will *not* mutate `a`. Do others have the same expectation?
> >
>

But isn't there a missing context there ?  That 'a' does not necessarily
have to be mutable globally ?  But could be constrained... only in the
defined functions, or...traits...or ?

-- 
-Thad
+ThadGuidry <https://www.google.com/+ThadGuidry>
Thad on LinkedIn <http://www.linkedin.com/in/thadguidry/>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to