{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/27740","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/27740/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/27740/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/27740/events","html_url":"https://github.com/rust-lang/rust/issues/27740","id":100604669,"number":27740,"title":"Tracking issue for std::slice::bytes","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/final-comment-period","name":"final-comment-period","color":"207de5"},{"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":12,"created_at":"2015-08-12T18:25:34Z","updated_at":"2015-12-03T10:35:21Z","closed_at":null,"body":"This is a tracking issue for the unstable `slice_bytes` feature in the standard library. This module has some various helper methods for dealing with blocks of bytes in an efficient fashion, but they seem particularly one-off and not necessarily fitting in with the rest of the design of the standard library.\r\n\r\nSome drawbacks are:\r\n\r\n* A one-off trait `MutableByteVector` is used to give slices the `set_memory` method.\r\n* A one-off and oddly placed `copy_memory` function is used to provide essentially safe bindings to `memcpy`\r\n\r\nBoth of these can be implemented in stable Rust otherwise and get optimized down to the same implementation, but it's often useful to call them directly to guarantee the optimization will happen. Needs a decision to whether this functionality should be exposed, where it should be exposed, and how."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/161590865","html_url":"https://github.com/rust-lang/rust/issues/27740#issuecomment-161590865","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/27740","id":161590865,"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-12-03T10:35:21Z","updated_at":"2015-12-03T10:35:21Z","body":"@bluss Ah, interesting. The deprecation message should mention that."}}