mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
Auto merge of #10789 - Centri3:patch-1, r=xFrednet
fix example heading in `string_slice` changelog: none
This commit is contained in:
commit
cf182b9f43
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ declare_clippy_lint! {
|
|||
/// Probably lots of false positives. If an index comes from a known valid position (e.g.
|
||||
/// obtained via `char_indices` over the same string), it is totally OK.
|
||||
///
|
||||
/// # Example
|
||||
/// ### Example
|
||||
/// ```rust,should_panic
|
||||
/// &"Ölkanne"[1..];
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue