From 841a4f908a7f98e9a0102cb5e466b562263c21c7 Mon Sep 17 00:00:00 2001 From: Alexis Hunt Date: Tue, 6 Feb 2018 21:33:16 -0500 Subject: [PATCH] Document that &mut T can deref-coerce to &U. This finishes documenting RFC 0241. --- src/type-coercions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/type-coercions.md b/src/type-coercions.md index c11655496984b..22b6ceefcb34f 100644 --- a/src/type-coercions.md +++ b/src/type-coercions.md @@ -106,7 +106,7 @@ Coercion is allowed between the following types: * `&mut T` to `*mut T` -* `&T` to `&U` if `T` implements `Deref`. For example: +* `&T` or `&mut T` to `&U` if `T` implements `Deref`. For example: ```rust use std::ops::Deref;