Fix incorrect DerefMut test reference type

This commit is contained in:
ivan770 2021-03-13 17:28:05 +02:00
parent 3bc5d81a33
commit 32ad929b82
No known key found for this signature in database
GPG Key ID: D8C4BD5AE4D9CC4D

View File

@ -1082,7 +1082,7 @@ fn deref(&self) -> &Self::Target {
}
impl DerefMut for T {
fn deref_mut(&self) -> &mut Self::Target {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}