We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294c216 commit ede0c38Copy full SHA for ede0c38
src/idiomatic/leveraging-the-type-system/newtype-pattern/is-it-encapsulated.md
@@ -19,12 +19,12 @@ impl Username {
19
}
20
21
22
-impl DerefMut for Username {
+impl std::ops::DerefMut for Username { // ‼️
23
fn deref_mut(&mut self) -> &mut Self::Target {
24
&mut self.0
25
26
27
-# impl Deref for Username {
+# impl std::ops::Deref for Username {
28
# type Target = str;
29
#
30
# fn deref(&self) -> &Self::Target {
0 commit comments