I think a clear paragraph on these cases (~ and ~[]) will help a lot the understanding of this subtlety...
----- Gaetan 2013/11/8 Daniel Micay <danielmi...@gmail.com> > On Fri, Nov 8, 2013 at 3:46 AM, Gaetan <gae...@xeberon.net> 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 Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev