diff --git a/src/doc/trpl/traits.md b/src/doc/trpl/traits.md index ae42b3af656..d3f50884a16 100644 --- a/src/doc/trpl/traits.md +++ b/src/doc/trpl/traits.md @@ -56,7 +56,7 @@ fn print_area(shape: T) { Rust complains: ```text -error: type `T` does not implement any method in scope named `area` +error: no method named `area` found for type `T` in the current scope ``` Because `T` can be any type, we can’t be sure that it implements the `area`