diff options
| author | nhamovitz <18648574+nhamovitz@users.noreply.github.com> | 2021-10-13 12:12:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-13 12:12:46 -0700 |
| commit | 09aa4ad6dca75be43ef782884fab36176cb785f0 (patch) | |
| tree | f8caf62ff6a3910daf238ce3237a7c11c042e42c | |
| parent | 57dc0343bdd05ed13aa2704ca6a873843143f5a9 (diff) | |
| download | rust-09aa4ad6dca75be43ef782884fab36176cb785f0.tar.gz rust-09aa4ad6dca75be43ef782884fab36176cb785f0.zip | |
Fix typo in example for `match_result_ok`
| -rw-r--r-- | clippy_lints/src/match_result_ok.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/match_result_ok.rs b/clippy_lints/src/match_result_ok.rs index 3db1f0421ea..ecf6ad316a4 100644 --- a/clippy_lints/src/match_result_ok.rs +++ b/clippy_lints/src/match_result_ok.rs @@ -35,7 +35,7 @@ declare_clippy_lint! { /// } /// /// if let Ok(value) = iter.next() { - /// vec.push_value) + /// vec.push(value) /// } /// ``` pub MATCH_RESULT_OK, |
