Skip to content

Commit 3db26db

Browse files
committed
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
1 parent 0d82fb5 commit 3db26db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/traits.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ fn normal<T: ConvertTo<i64>>(x: &T) -> i64 {
332332
fn inverse<T>() -> T
333333
// this is using ConvertTo as if it were "ConvertFrom<i32>"
334334
where i32: ConvertTo<T> {
335-
1i32.convert()
335+
42.convert()
336336
}
337337
```
338338

0 commit comments

Comments
 (0)