Fix documentation for indexing_slicing (#16543)

Replace typo'd name with link to the referenced lint.

changelog: none
This commit is contained in:
dswij
2026-02-10 16:49:42 +00:00
committed by GitHub
+1 -1
View File
@@ -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?