Skip to content

Commit 1384c3f

Browse files
committed
formatting
1 parent bb18db8 commit 1384c3f

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

text/0000-clippy-uno.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,7 @@ implement equality for a type involving floats).
240240
subtracting elements in an Add impl.
241241
- [approx_constant](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#approx_constant): Checks for floating point literals that approximate
242242
constants which are defined in
243-
[`std::f32::consts`](https://doc.rust-lang.org/stable/std/f32/consts/#constants)
244-
or
245-
[`std::f64::consts`](https://doc.rust-lang.org/stable/std/f64/consts/#constants),
246-
respectively, suggesting to use the predefined constant.
243+
[`std::f32::consts`](https://doc.rust-lang.org/stable/std/f32/consts/#constants) or [`std::f64::consts`](https://doc.rust-lang.org/stable/std/f64/consts/#constants), respectively, suggesting to use the predefined constant.
247244
- [while_immutable_condition](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#while_immutable_condition): Checks whether variables used within while loop condition
248245
can be (and are) mutated in the body.
249246
- [never_loop](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#never_loop): Checks for loops that will always `break`, `return` or
@@ -303,7 +300,8 @@ and no implementation of
303300
where the `Default` can be derived by `#[derive(Default)]`.
304301
- [zero_ptr](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#zero_ptr): Catch casts from `0` to some pointer type
305302
- [wrong_self_convention](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#wrong_self_convention): Checks for methods with certain name prefixes and which
306-
doesn't match how self is taken.- [iter_skip_next](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#iter_skip_next): Checks for use of `.skip(x).next()` on iterators.
303+
doesn't match how self is taken.
304+
- [iter_skip_next](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#iter_skip_next): Checks for use of `.skip(x).next()` on iterators.
307305
- [large_digit_groups](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#large_digit_groups): Warns if the digits of an integral or floating-point
308306
constant are grouped into groups that
309307
are too large.
@@ -452,10 +450,10 @@ suggests the latter.
452450
definitions
453451
- [precedence](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#precedence): Checks for operations where precedence may be unclear
454452
and suggests to add parentheses. Currently it catches the following:
455-
* mixed usage of arithmetic and bit shifting/combining operators without
456-
parentheses
457-
* a "negative" numeric literal (which is really a unary `-` followed by a
458-
numeric literal)
453+
- mixed usage of arithmetic and bit shifting/combining operators without
454+
parentheses
455+
- a "negative" numeric literal (which is really a unary `-` followed by a
456+
numeric literal)
459457
followed by a method call
460458
- [useless_transmute](https://rust-lang-nursery.github.io/rust-clippy/master/index.html#useless_transmute): Checks for transmutes to the original type of the object
461459
and transmutes that could be a cast.

0 commit comments

Comments
 (0)