about summary refs log tree commit diff
path: root/src/libstd/array.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-23 15:11:06 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-23 15:11:06 -0700
commit19510ac70bd29a0e0e2ef4d63007b85ba179582e (patch)
treefbba867d2fdfe8ee335c0a373cc12eeb422f33b2 /src/libstd/array.rs
parent28fcdc0df70c360ef9892ff45b4fd91ef60500ab (diff)
parent2df8830642fffa6c68aa6318985cfcd2e63db81b (diff)
downloadrust-19510ac70bd29a0e0e2ef4d63007b85ba179582e.tar.gz
rust-19510ac70bd29a0e0e2ef4d63007b85ba179582e.zip
rollup merge of #23633: tomjakubowski/rustdoc-array-prim
Previously, impls for `[T; n]` were collected in the same place as impls for `[T]` and `&[T]`. This splits them out into their own primitive page in both core and std.
Diffstat (limited to 'src/libstd/array.rs')
-rw-r--r--src/libstd/array.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libstd/array.rs b/src/libstd/array.rs
new file mode 100644
index 00000000000..a6b8cd71a3b
--- /dev/null
+++ b/src/libstd/array.rs
@@ -0,0 +1,13 @@
+// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+//! The fixed-size array type (`[T; n]`).
+
+#![doc(primitive = "array")]