{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/27793","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/27793/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/27793/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/27793/events","html_url":"https://github.com/rust-lang/rust/issues/27793","id":100691962,"number":27793,"title":"Tracking issue for str::slice_mut_unchecked","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/B-unstable","name":"B-unstable","color":"e102d8"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/I-nominated","name":"I-nominated","color":"e10c02"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/T-libs","name":"T-libs","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-13T05:17:31Z","updated_at":"2015-09-17T20:07:36Z","closed_at":null,"body":"This is a tracking issue for the unstable `str_slice_mut` feature in the standard library. The major open question here is to what extent we want to support `&mut str` in the standard library. Currently the support is likely falling short in a number of `&str` vs `&mut str` methods, and it's unclear to what extent we want to provide the full suite of methods operating over `&mut str`. We may wish to just punt entirely on these suites of methods. Definitely needs a decision!\r\n\r\ncc @SimonSapin "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/141211769","html_url":"https://github.com/rust-lang/rust/issues/27793#issuecomment-141211769","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/27793","id":141211769,"user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T20:07:36Z","updated_at":"2015-09-17T20:07:36Z","body":"> it's unclear to what extent we want to provide the full suite of methods operating over &mut str.\r\n\r\nI don’t think there *are* that many methods we could add to `&mut str`. Mutating while preserving the UTF-8 invariant *and* the length is fairly limited.\r\n\r\nI’d be OK with deprecating this and reverting #27809 to `OwnedAsciiExt::into_ascii_lowercase(String) -> String`. That would not be a loss of generality as the `&mut String` methods could be simulated with `mem::replace`."}}