mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
Correct typo in lint description
This commit is contained in:
@@ -4046,7 +4046,7 @@
|
||||
/// Checks the usage of `.get().is_some()` or `.get().is_none()` on std map types.
|
||||
///
|
||||
/// ### Why is this bad?
|
||||
/// It can be done in one call with `.contains()`/`.contains_keys()`.
|
||||
/// It can be done in one call with `.contains()`/`.contains_key()`.
|
||||
///
|
||||
/// ### Example
|
||||
/// ```no_run
|
||||
|
||||
Reference in New Issue
Block a user