We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vec!
1 parent 6eb7a46 commit 1f8b204Copy full SHA for 1f8b204
clippy_lints/src/unit_return_expecting_ord.rs
@@ -26,7 +26,7 @@ declare_clippy_lint! {
26
///
27
/// ### Example
28
/// ```rust
29
- /// let mut twins = vec!((1, 1), (2, 2));
+ /// let mut twins = vec![(1, 1), (2, 2)];
30
/// twins.sort_by_key(|x| { x.1; });
31
/// ```
32
#[clippy::version = "1.47.0"]
0 commit comments