Docs: Fix format of headings in String::reserve
This commit is contained in:
parent
5dd0e1b7ae
commit
4f36673e15
1 changed files with 2 additions and 2 deletions
|
@ -928,12 +928,12 @@ impl String {
|
|||
|
||||
/// Copies elements from `src` range to the end of the string.
|
||||
///
|
||||
/// ## Panics
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if the starting point or end point do not lie on a [`char`]
|
||||
/// boundary, or if they're out of bounds.
|
||||
///
|
||||
/// ## Examples
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(string_extend_from_within)]
|
||||
|
|
Loading…
Add table
Reference in a new issue