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 82bf815 commit 30679ffCopy full SHA for 30679ff
rustbook-en/src/ch19-03-advanced-traits.md
@@ -442,7 +442,7 @@ that holds an instance of `Vec<T>`; then we can implement `Display` on
442
443
The implementation of `Display` uses `self.0` to access the inner `Vec<T>`,
444
because `Wrapper` is a tuple struct and `Vec<T>` is the item at index 0 in the
445
-tuple. Then we can use the functionality of the `Display` type on `Wrapper`.
+tuple. Then we can use the functionality of the `Display` trait on `Wrapper`.
446
447
The downside of using this technique is that `Wrapper` is a new type, so it
448
doesn’t have the methods of the value it’s holding. We would have to implement
0 commit comments