mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
Fix documentation for indexing_slicing (#16543)
Replace typo'd name with link to the referenced lint. changelog: none
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
/// 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?
|
||||
|
||||
Reference in New Issue
Block a user