On 29/05/2014 08:25, Kevin Ballard wrote:
This is a temporary issue. Once DST lands we will likely implement
Deref<str> for String, which will make all &str methods work
transparently on String.

Until then, is there a reason not to have String implement the StrSlice trait?

--
Simon Sapin
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to