Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6eb7a46

Browse files
authored
Documentation Formatting
1 parent b97eaab commit 6eb7a46

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3054,12 +3054,12 @@ declare_clippy_lint! {
30543054
///
30553055
/// ### Example
30563056
/// ```rust
3057-
/// vec!(1, 2, 3, 4, 5).resize(0, 5)
3057+
/// vec![1, 2, 3, 4, 5].resize(0, 5)
30583058
/// ```
30593059
///
30603060
/// Use instead:
30613061
/// ```rust
3062-
/// vec!(1, 2, 3, 4, 5).clear()
3062+
/// vec![1, 2, 3, 4, 5].clear()
30633063
/// ```
30643064
#[clippy::version = "1.46.0"]
30653065
pub VEC_RESIZE_TO_ZERO,

0 commit comments

Comments
 (0)