From cddbb6a75bd4618e6e136e7ec5140b95899ad70b Mon Sep 17 00:00:00 2001 From: Chase Southwood Date: Thu, 4 Dec 2014 03:10:58 -0600 Subject: [PATCH] `DerefMut` should be `for Sized?` --- src/libcore/ops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index d85481098e4..7de89e2bc50 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -787,7 +787,7 @@ impl<'a, Sized? T> Deref for &'a mut T { /// } /// ``` #[lang="deref_mut"] -pub trait DerefMut: Deref { +pub trait DerefMut for Sized? : Deref { /// The method called to mutably dereference a value fn deref_mut<'a>(&'a mut self) -> &'a mut Result; }