mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Auto merge of #26315 - steveklabnik:gh26287, r=alexcrichton
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
This commit is contained in:
commit
37cc79f81c
@ -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()
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user