Skip to content

Commit cf182b9

Browse files
committed
Auto merge of #10789 - Centri3:patch-1, r=xFrednet
fix example heading in `string_slice` changelog: none
2 parents 9cd483d + ae40b7f commit cf182b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/strings.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ declare_clippy_lint! {
132132
/// Probably lots of false positives. If an index comes from a known valid position (e.g.
133133
/// obtained via `char_indices` over the same string), it is totally OK.
134134
///
135-
/// # Example
135+
/// ### Example
136136
/// ```rust,should_panic
137137
/// &"Ölkanne"[1..];
138138
/// ```

0 commit comments

Comments
 (0)