mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 08:59:23 +00:00
fix typo pointed out in review comment
Co-authored-by: Philipp Krones <hello@philkrones.com>
This commit is contained in:
parent
fbf637d12c
commit
7d2e42daec
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ declare_clippy_lint! {
|
||||||
/// this lint on them will fix the problem, but they may be in other crates.
|
/// this lint on them will fix the problem, but they may be in other crates.
|
||||||
///
|
///
|
||||||
/// One notable example of a function that may cause issues, and which cannot
|
/// One notable example of a function that may cause issues, and which cannot
|
||||||
/// easily be changed due to beinng in the standard library is `Vec::contains`.
|
/// easily be changed due to being in the standard library is `Vec::contains`.
|
||||||
/// when called on a `Vec<Vec<T>>`. If a `&Vec` is passed to that method then
|
/// when called on a `Vec<Vec<T>>`. If a `&Vec` is passed to that method then
|
||||||
/// it will compile, but if a `&[T]` is passed then it will not compile.
|
/// it will compile, but if a `&[T]` is passed then it will not compile.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue