Skip to content

Commit d6492e2

Browse files
committed
Fix markdown bullet points in function docs
Markdown requires a newline before bullet points, and since there's not one here, they'll get rendered incorrectly
1 parent cfea8ec commit d6492e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcollections/string.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ impl String {
314314
/// Creates a new `String` from a length, capacity, and pointer.
315315
///
316316
/// This is unsafe because:
317+
///
317318
/// * We call `Vec::from_raw_parts` to get a `Vec<u8>`;
318319
/// * We assume that the `Vec` contains valid UTF-8.
319320
#[inline]

0 commit comments

Comments
 (0)