Skip to content

Commit

Permalink
matches: Disable running the docstring snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
jubnzv committed Jan 26, 2022
1 parent 467a0bf commit 8c320be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/matches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ fn contains_only_wilds(pat: &Pat<'_>) -> bool {
///
/// For example:
///
/// ```
/// ```rust,no_run
/// // Returns false, because the first arm contain enum without a wildcard.
/// match x {
/// (Some(E::V), _) => todo!(),
Expand Down

0 comments on commit 8c320be

Please sign in to comment.