Add impls of the comparison operators for fixed-length arrays of lengths 0...32 and repair various cases where slices and fixed-length arrays were being compared.

This commit is contained in:
Niko Matsakis
2014-10-31 05:41:25 -04:00
parent 4af52eee59
commit 33ef78fa8b
5 changed files with 102 additions and 11 deletions

View File

@@ -126,6 +126,10 @@ pub mod tuple;
pub mod unit;
pub mod fmt;
// note: does not need to be public
#[cfg(not(stage0))]
mod array;
#[doc(hidden)]
mod core {
pub use panicking;