about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-28 22:12:11 +0200
committerGitHub <noreply@github.com>2019-09-28 22:12:11 +0200
commit46526718b15dd168543a59cb632bf8dea6eedafe (patch)
tree255b133e7b09bfc79a8a45a26d1ab4b66e700a76 /src/libstd
parent1c2dd143f3acd76f9dc4612e1f947e07bc790963 (diff)
parente77dfa27cacd17878cf992b61c801f4c99056fad (diff)
downloadrust-46526718b15dd168543a59cb632bf8dea6eedafe.tar.gz
rust-46526718b15dd168543a59cb632bf8dea6eedafe.zip
Rollup merge of #64880 - llogiq:slice-docs, r=Centril
Slice docs: fix typo

With #64703, I introduced a typo. Here is the fix. Sorry for the inconvenience.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/primitive_docs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs
index 02f664760c0..3e389c40fbc 100644
--- a/src/libstd/primitive_docs.rs
+++ b/src/libstd/primitive_docs.rs
@@ -567,7 +567,7 @@ mod prim_array { }
 #[doc(alias = "]")]
 #[doc(alias = "[]")]
 /// A dynamically-sized view into a contiguous sequence, `[T]`. Contiguous here
-/// means that elements are layed out so that every element is the same
+/// means that elements are laid out so that every element is the same
 /// distance from its neighbors.
 ///
 /// *[See also the `std::slice` module](slice/index.html).*