mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +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
|
fn inverse<T>() -> T
|
||||||
// this is using ConvertTo as if it were "ConvertFrom<i32>"
|
// this is using ConvertTo as if it were "ConvertFrom<i32>"
|
||||||
where i32: ConvertTo<T> {
|
where i32: ConvertTo<T> {
|
||||||
1i32.convert()
|
42.convert()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user