Skip to content

Commit

Permalink
added make_mut to unresolved questions
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Mar 10, 2017
1 parent 4c3b305 commit 8b33bec
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion text/0000-shared-from-slice.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,12 @@ impl Arc<str> {
# Unresolved questions
[unresolved]: #unresolved-questions

None
+ Should a special version of [`make_mut`][make_mut] be added for `Rc<[T]>`? This could look like:
```rust
impl<T> Rc<[T]> where T: Clone {
fn make_mut_slice(this: &mut Rc<[T]>) -> &mut [T]
}
```

<!-- references -->
[Box]: https://doc.rust-lang.org/alloc/boxed/struct.Box.html
Expand All @@ -538,4 +543,6 @@ None
[XML]: https://en.wikipedia.org/wiki/XML
[namespace]: https://www.w3.org/TR/xml-names11/
[associated functions]: https://doc.rust-lang.org/book/method-syntax.html#associated-functions
[make_mut]: https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.make_mut

<!-- references -->

0 comments on commit 8b33bec

Please sign in to comment.