Rollup merge of #129793 - lolbinarycat:doc-missing-newlines, r=workin… · patricklam/verify-rust-std@e4e9f6b (original) (raw)
2 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
1 | 1 | #![stable(feature = "core_hint", since = "1.27.0")] |
2 | 2 | |
3 | 3 | //! Hints to compiler that affects how code should be emitted or optimized. |
4 | +//! | |
4 | 5 | //! Hints may be compile time or runtime. |
5 | 6 | |
6 | 7 | use crate::{intrinsics, ub_checks}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -832,8 +832,9 @@ mod prim_array {} | ||
832 | 832 | #[doc(alias = "[")] |
833 | 833 | #[doc(alias = "]")] |
834 | 834 | #[doc(alias = "[]")] |
835 | -/// A dynamically-sized view into a contiguous sequence, `[T]`. Contiguous here | |
836 | -/// means that elements are laid out so that every element is the same | |
835 | +/// A dynamically-sized view into a contiguous sequence, `[T]`. | |
836 | +/// | |
837 | +/// Contiguous here means that elements are laid out so that every element is the same | |
837 | 838 | /// distance from its neighbors. |
838 | 839 | /// |
839 | 840 | /// *[See also the `std::slice` module](crate::slice).* |