diff --git a/src/doc/trpl/traits.md b/src/doc/trpl/traits.md index 07da32c34be..687e2bbf00e 100644 --- a/src/doc/trpl/traits.md +++ b/src/doc/trpl/traits.md @@ -332,7 +332,7 @@ fn normal>(x: &T) -> i64 { fn inverse() -> T // this is using ConvertTo as if it were "ConvertFrom" where i32: ConvertTo { - 1i32.convert() + 42.convert() } ```