Skip to content

Commit bac7182

Browse files
committed
Add doc changes
1 parent 751bdb8 commit bac7182

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/core/src/array/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,11 @@ array_impl_default! {32, T T T T T T T T T T T T T T T T T T T T T T T T T T T T
368368
#[cfg(not(bootstrap))]
369369
#[lang = "array"]
370370
impl<T, const N: usize> [T; N] {
371-
/// Returns an array of the same size as self, with `f` applied to each element.
371+
/// Returns an array of the same size as `self`, with `f` applied to each element.
372372
/// The closure will be called on elements 0 up to N.
373373
///
374374
/// # Examples
375+
///
375376
/// ```
376377
/// # #![feature(array_map)]
377378
/// let x = [1, 2, 3];

0 commit comments

Comments
 (0)