Add a repeat function to the prelude

Implements a part of RFC 235.

[breaking-change]
This commit is contained in:
Jakub Bukaj
2014-10-30 23:44:42 +01:00
parent 52c3fe9533
commit 696f72e84e
4 changed files with 16 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ pub use option::{Option, Some, None};
pub use result::{Result, Ok, Err};
// Reexported functions
pub use iter::range;
pub use iter::{range, repeat};
pub use mem::drop;
// Reexported types and traits