Skip to content

Commit 4996e17

Browse files
committed
Auto merge of #7815 - nhamovitz:patch-1, r=giraffate
Fix typo in example for `match_result_ok` changelog: Fix typo in example for ``[`match_result_ok`]``
2 parents b9b11a9 + 09aa4ad commit 4996e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/match_result_ok.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare_clippy_lint! {
3535
/// }
3636
///
3737
/// if let Ok(value) = iter.next() {
38-
/// vec.push_value)
38+
/// vec.push(value)
3939
/// }
4040
/// ```
4141
pub MATCH_RESULT_OK,

0 commit comments

Comments
 (0)