Skip to content

Commit 09aa4ad

Browse files
authored
Fix typo in example for match_result_ok
1 parent 57dc034 commit 09aa4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/match_result_ok.rs

Lines changed: 1 addition & 1 deletion
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)