I think a clear paragraph on these cases (~ and ~[]) will help a lot the understanding of this subtlety...
----- Gaetan 2013/11/8 Daniel Micay <[email protected]> > On Fri, Nov 8, 2013 at 3:46 AM, Gaetan <[email protected]> wrote: > >> >> // An exchange heap (owned) stringlet exchange_crayons: ~str = ~"Black, >> BlizzardBlue, Blue"; >> >> >> can you clarify us? >> >> thx! >> ----- >> Gaetan >> > > I suggest ignoring the string/vector section in the tutorial because it's > misleading and in some places incorrect. > > I'll send in a pull request removing the incorrect information. >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
