Fix documentation for indexing_slicing (#16543)
Replace typo'd name with link to the referenced lint. changelog: none
This commit is contained in:
commit
ae8a9d1c64
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ declare_clippy_lint! {
|
|||
/// Checks for usage of indexing or slicing that may panic at runtime.
|
||||
///
|
||||
/// This lint does not report on indexing or slicing operations
|
||||
/// that always panic, clippy's `out_of_bound_indexing` already
|
||||
/// that always panic, [out_of_bounds_indexing](#out_of_bounds_indexing) already
|
||||
/// handles those cases.
|
||||
///
|
||||
/// ### Why restrict this?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue