diff --git a/src/doc/trpl/traits.md b/src/doc/trpl/traits.md index 80c45ac4f0ade..0870a6ef34147 100644 --- a/src/doc/trpl/traits.md +++ b/src/doc/trpl/traits.md @@ -390,7 +390,7 @@ fn normal>(x: &T) -> i64 { // can be called with T == i64 fn inverse() -> T - // this is using ConvertTo as if it were "ConvertFrom" + // this is using ConvertTo as if it were "ConvertTo" where i32: ConvertTo { 42.convert() }