Sorry, but it's not clear. the only occurences of "~str" are in "Declaring and implementing traits" section... Maybe by adding more "string specific" examples would help...
And a special section one "why ~str is not a ~T" would be so useful! ----- Gaetan 2013/11/19 Daniel Micay <[email protected]> > On Tue, Nov 19, 2013 at 7:52 AM, Gaetan <[email protected]> wrote: > > I think it is one of the first thing to explain, actually... > > > > Playing with strings, using the method in std or extra requires to > > understand it. I wanted to use (and improve) extra::url and others (like > > std::path,...) and... I was simply lost with all of these ~str... and > > nothing in the manual or tutorial. > > > > ----- > > Gaetan > > It is covered, I rewrote the section on it recently: > > http://static.rust-lang.org/doc/master/tutorial.html#vectors-and-strings > > It doesn't go out of the way to explain that they're not owned boxes, > but I don't think it should. It's a confusing language wart and should > be fixed as far as I am concerned. >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
