3 ms·
I think this is an anti-pattern. I'm not a fan of the slicing syntax in general, which seems to exist only to paper over the missing traits that wycats mentions
by kibwen 12y ago
I think this is an anti-pattern. I'm not a fan of the slicing syntax in general, which seems to exist only to paper over the missing traits that wycats mentions.
- dbaupp 12y agoWe will almost certainly just have `Deref<str> for String` and so autoderef will handle `some_string.some_slice_method()` correctly.
- kibwen 12y agoWill we be able to kill the slicing syntax, then? :)
- heinrich5991 12y agoSlicing syntax is about being able to do stuff like string[1:3] AFAIK, so I hope it won't get killed.