From 3db26db24a14200351978b5248bf4148533673fd Mon Sep 17 00:00:00 2001 From: Steve Klabnik <steve@steveklabnik.com> Date: Mon, 15 Jun 2015 12:42:07 -0400 Subject: [PATCH] remove confusing 1i32 The font can make this hard to read, and we don't even strictly need the annotation, so let's just remove it Fixes #26287 --- src/doc/trpl/traits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<T: ConvertTo<i64>>(x: &T) -> i64 { fn inverse<T>() -> T // this is using ConvertTo as if it were "ConvertFrom<i32>" where i32: ConvertTo<T> { - 1i32.convert() + 42.convert() } ```