Skip to content

Commit 1ac33ad

Browse files
committed
perform cargo dev fmt`
1 parent 0469e82 commit 1ac33ad

File tree

1 file changed

+6
-6
lines changed
  • clippy_lints/src/methods

1 file changed

+6
-6
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4531,7 +4531,7 @@ declare_clippy_lint! {
45314531

45324532
declare_clippy_lint! {
45334533
/// ### What it does
4534-
/// Checks for IP addresses that could be replaced with predefined constants such as
4534+
/// Checks for IP addresses that could be replaced with predefined constants such as
45354535
/// `Ipv4Addr::new(127, 0, 0, 1)` instead of using the appropriate constants.
45364536
///
45374537
/// ### Why is this bad?
@@ -4542,20 +4542,20 @@ declare_clippy_lint! {
45424542
/// ### Example
45434543
/// ```no_run
45444544
/// use std::net::{Ipv4Addr, Ipv6Addr};
4545-
///
4545+
///
45464546
/// // IPv4 loopback
45474547
/// let addr_v4 = Ipv4Addr::new(127, 0, 0, 1);
4548-
///
4549-
/// // IPv6 loopback
4548+
///
4549+
/// // IPv6 loopback
45504550
/// let addr_v6 = Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1);
45514551
/// ```
45524552
/// Use instead:
45534553
/// ```no_run
45544554
/// use std::net::{Ipv4Addr, Ipv6Addr};
4555-
///
4555+
///
45564556
/// // IPv4 loopback
45574557
/// let addr_v4 = Ipv4Addr::LOCALHOST;
4558-
///
4558+
///
45594559
/// // IPv6 loopback
45604560
/// let addr_v6 = Ipv6Addr::LOCALHOST;
45614561
/// ```

0 commit comments

Comments
 (0)