fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
506 B19 linesraw
1warning: unnecessary parentheses around `return` value
2  --> $DIR/path-lookahead.rs:10:12
3   |
4LL |     return (<T as ToString>::to_string(&arg));
5   |            ^                                ^
6   |
7note: the lint level is defined here
8  --> $DIR/path-lookahead.rs:5:9
9   |
10LL | #![warn(unused_parens)]
11   |         ^^^^^^^^^^^^^
12help: remove these parentheses
13   |
14LL -     return (<T as ToString>::to_string(&arg));
15LL +     return <T as ToString>::to_string(&arg);
16   |
17
18warning: 1 warning emitted
19