Fix typo in example for match_result_ok

This commit is contained in:
nhamovitz 2021-10-13 12:12:46 -07:00 committed by GitHub
parent 57dc0343bd
commit 09aa4ad6dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ declare_clippy_lint! {
/// }
///
/// if let Ok(value) = iter.next() {
/// vec.push_value)
/// vec.push(value)
/// }
/// ```
pub MATCH_RESULT_OK,