fix example heading in string_slice
This commit is contained in:
parent
c4909746ad
commit
ae40b7f8cc
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…
Add table
Add a link
Reference in a new issue