fix example heading in string_slice
This commit is contained in:
parent
c4909746ad
commit
ae40b7f8cc
@ -132,7 +132,7 @@
|
||||
/// 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 New Issue
Block a user