Skip to content

Commit

Permalink
rollup merge of rust-lang#20386: frewsxcv/rm-reexports
Browse files Browse the repository at this point in the history
Part of rust-lang#19253

[breaking-change]
  • Loading branch information
alexcrichton committed Jan 2, 2015
2 parents 073fd5b + f9ce6f5 commit 9ca8076
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libcore/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
//!
//! This `for` loop syntax can be applied to any iterator over any type.
pub use self::MinMaxResult::*;
use self::MinMaxResult::*;

use clone::Clone;
use cmp;
Expand Down Expand Up @@ -1035,7 +1035,7 @@ pub trait IteratorOrdExt<A> {
/// # Example
///
/// ```rust
/// use std::iter::{NoElements, OneElement, MinMax};
/// use std::iter::MinMaxResult::{NoElements, OneElement, MinMax};
///
/// let v: [int; 0] = [];
/// assert_eq!(v.iter().min_max(), NoElements);
Expand Down Expand Up @@ -1145,7 +1145,7 @@ impl<T: Clone> MinMaxResult<T> {
/// # Example
///
/// ```rust
/// use std::iter::{NoElements, OneElement, MinMax, MinMaxResult};
/// use std::iter::MinMaxResult::{mod, NoElements, OneElement, MinMax};
///
/// let r: MinMaxResult<int> = NoElements;
/// assert_eq!(r.into_option(), None);
Expand Down
1 change: 1 addition & 0 deletions src/libcoretest/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

use core::iter::*;
use core::iter::order::*;
use core::iter::MinMaxResult::*;
use core::num::SignedInt;
use core::uint;
use core::cmp;
Expand Down

0 comments on commit 9ca8076

Please sign in to comment.