Fix define_lints->defining_lints typo in link

This commit is contained in:
Philipp Krones 2023-08-16 14:54:47 +02:00
parent e8d79b8645
commit 1dbc8dd0cf
No known key found for this signature in database
GPG key ID: 1CA0DF2AF59D68A5

View file

@ -38,7 +38,7 @@ impl<'tcx> LateLintPass<'tcx> for OurFancyMethodLint {
Take a closer look at the `ExprKind` enum variant [`MethodCall`] for more
information on the pattern matching. As mentioned in [Define
Lints](define_lints.md#lint-types), the `methods` lint type is full of pattern
Lints](defining_lints.md#lint-types), the `methods` lint type is full of pattern
matching with `MethodCall` in case the reader wishes to explore more.
Additionally, we use the [`clippy_utils::sym!`][sym] macro to conveniently