rustdoc: Support for "array" primitive
Impls on `clean::Type::FixedVector` are now collected in the array primitive page instead of the slice primitive page. Also add a primitive docs for arrays to `std`.
This commit is contained in:
@@ -212,6 +212,9 @@ pub mod prelude;
|
||||
|
||||
/* Primitive types */
|
||||
|
||||
// NB: slice and str are primitive types too, but their module docs + primitive doc pages
|
||||
// are inlined from the public re-exports of core_collections::{slice, str} above.
|
||||
|
||||
#[path = "num/float_macros.rs"]
|
||||
#[macro_use]
|
||||
mod float_macros;
|
||||
@@ -285,8 +288,9 @@ pub mod sync;
|
||||
pub mod rt;
|
||||
mod panicking;
|
||||
|
||||
// Documentation for primitive types
|
||||
// Modules that exist purely to document + host impl docs for primitive types
|
||||
|
||||
mod array;
|
||||
mod bool;
|
||||
mod unit;
|
||||
mod tuple;
|
||||
|
||||
Reference in New Issue
Block a user