rust-lang/rfcs — pull request #241 by aturon (2014-09-16 06:06:44+00:00)
Title: RFC: deref coercions

Add the following coercions:

* From `&T` to `&U` when `T: Deref

`.
* From `&mut T` to `&U` when `T: Deref

`.
* From `&mut T` to `&mut U` when `T: DerefMut

`

These coercions eliminate the need for "cross-borrowing" (things like `&**v`) and calls to `as_slice`.

[Rendered](https://github.com/aturon/rfcs/blob/deref-coercions/active/0000-deref-coercions.md)