about summary refs log tree commit diff
path: root/src/libstd/unit.rs
AgeCommit message (Collapse)AuthorLines
2014-02-13Add some missing Show implementations in libstdBrendan Zabarauskas-0/+7
2014-02-08Fix unused import warnings.OGINO Masanori-0/+1
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-02-07Cleaned up imports per coding standards.chromatic-1/+1
No functional changes; just style.
2014-02-07Removed prelude::* from libstd files.chromatic-1/+2
This replaces the imports from the prelude with the re-exported symbols.
2014-01-20Add operator trait constraints to std::num::{Zero, One} and document their ↵Brendan Zabarauskas-10/+0
appropriate use Zero and One have precise definitions in mathematics. Documentation has been added to describe the appropriate uses for these traits and the laws that they should satisfy. For more information regarding these identities, see the following wikipedia pages: - http://wikipedia.org/wiki/Additive_identity - http://wikipedia.org/wiki/Multiplicative_identity
2013-11-01Reordered the methods in std::Option and std::ResultMarvin Löbel-5/+1
Cleaned up the source in a few places Renamed `map_move` to `map`, removed other `map` methods Added `as_ref` and `as_mut` adapters to `Result` Added `fmt::Default` impl
2013-09-12std: Add a bunch of Default implsErick Tryzelaar-5/+6
2013-08-26Add a Default trait.Corey Richardson-0/+5
2013-08-14Methodyfied the string ascii extionsion functionsMarvin Löbel-0/+54
Added into_owned() method for vectors Added DoubleEnded Iterator impl to Option Renamed nil.rs to unit.rs