You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, if the method lookup encounters a type ~str, it will attempt to "auto-slice" it to &str, but it will not attempt to "auto-ref" to &mut ~str. This hinders us from defining methods like push_str() on strings and vectors. There is no deep reason, I just didn't see why it'd be useful. But it is.