cab9905705
Implements the suggestion from #87. Changes span_help_and_lint(), which is only used for this lint, to use fileline_help() instead of span_help() to avoid printing the span twice. Also adds complete suggested new code. I had to distinguish between blocks, which need no additionals braces, and other exprs. |
||
---|---|---|
.. | ||
approx_const.rs | ||
attrs.rs | ||
bit_masks.rs | ||
box_vec.rs | ||
cmp_nan.rs | ||
cmp_owned.rs | ||
collapsible_if.rs | ||
dlist.rs | ||
eq_op.rs | ||
eta.rs | ||
float_cmp.rs | ||
identity_op.rs | ||
len_zero.rs | ||
match_if_let.rs | ||
mut_mut.rs | ||
needless_bool.rs | ||
precedence.rs | ||
ptr_arg.rs | ||
strings.rs | ||
toplevel_ref_arg.rs | ||
unicode.rs |