fix typo pointed out in review comment

Co-authored-by: Philipp Krones <hello@philkrones.com>
This commit is contained in:
Ryan Wiedemann 2020-08-12 08:54:32 -06:00 committed by GitHub
parent fbf637d12c
commit 7d2e42daec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
/// ///