rust/src/libstd
Brendan Zabarauskas cf56624a4a Add operator trait constraints to std::num::{Zero, One} and document their 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
2014-01-20 18:09:46 +11:00
..
comm Rename iterators for consistency 2014-01-18 01:15:15 -05:00
fmt Rename iterators for consistency 2014-01-18 01:15:15 -05:00
io Rename iterators for consistency 2014-01-18 01:15:15 -05:00
num Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
path auto merge of #11643 : kballard/rust/path-root-path, r=erickt 2014-01-19 15:31:57 -08:00
rand auto merge of #11503 : FlaPer87/rust/master, r=huonw 2014-01-17 20:36:47 -08:00
rt auto merge of #11635 : thestinger/rust/zero-size-alloc, r=alexcrichton 2014-01-19 04:31:53 -08:00
sync Add a generic power function 2014-01-17 15:41:26 +01:00
unstable handle zero-size allocations correctly 2014-01-17 23:41:31 -05:00
any.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
ascii.rs Issue #3511 - Rationalize temporary lifetimes. 2014-01-15 18:34:38 -05:00
at_vec.rs libstd: Added more #[inline] annotations and replaced uses of libc::abort with the intrinsic. 2014-01-15 11:45:12 +02:00
bool.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
borrow.rs 'borrowed pointer' -> 'reference' 2014-01-07 18:49:13 -08:00
c_str.rs Rename iterators for consistency 2014-01-18 01:15:15 -05:00
cast.rs 'borrowed pointer' -> 'reference' 2014-01-07 18:49:13 -08:00
cell.rs Register new snapshots 2014-01-06 09:26:47 -08:00
char.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
cleanup.rs remove the concept of managed-unique from libstd 2014-01-15 08:22:59 -05:00
clone.rs 'borrowed pointer' -> 'reference' 2014-01-07 18:49:13 -08:00
cmp.rs Remove ApproxEq and assert_approx_eq! 2014-01-09 15:41:46 +11:00
condition.rs Remove re-exports of std::io::stdio::{print, println} in the prelude. 2014-01-11 10:46:00 +11:00
container.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
default.rs libstd: Remove all support code related to @mut 2014-01-03 14:02:00 -08:00
from_str.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
gc.rs add an experimental tag for Gc<T> due to cycles 2014-01-14 17:13:22 -05:00
hash.rs Don't allow newtype structs to be dereferenced. #6246 2014-01-04 14:44:12 -08:00
hashmap.rs Rename iterators for consistency 2014-01-18 01:15:15 -05:00
iter.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
kinds.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
lib.rs Bump version to 0.10-pre 2014-01-12 17:45:22 -08:00
libc.rs handle zero-size allocations correctly 2014-01-17 23:41:31 -05:00
local_data.rs libstd: Added more #[inline] annotations and replaced uses of libc::abort with the intrinsic. 2014-01-15 11:45:12 +02:00
logging.rs Tweak the interface of std::io 2014-01-17 10:00:47 -08:00
managed.rs remove the concept of managed-unique from libstd 2014-01-15 08:22:59 -05:00
mem.rs Cleaned, documented, wrote tests for up std::bool 2013-10-24 17:21:39 +02:00
ops.rs Remove re-exports of std::io::stdio::{print, println} in the prelude. 2014-01-11 10:46:00 +11:00
option.rs Rename iterators for consistency 2014-01-18 01:15:15 -05:00
os.rs stdtest: Fix all leaked trait imports 2014-01-07 23:51:38 -08:00
owned.rs librustc: Implement placement box for GC and unique pointers. 2014-01-09 16:05:34 -08:00
prelude.rs Merge Bitwise and BitCount traits and remove from prelude, along with Bounded 2014-01-16 11:51:33 +11:00
ptr.rs std: silence warnings when compiling test. 2013-12-20 01:26:03 +11:00
rc.rs remove reference counting headers from ~ 2014-01-14 22:01:40 -05:00
reflect.rs register snapshots 2014-01-15 08:22:56 -05:00
repr.rs auto merge of #11598 : alexcrichton/rust/io-export, r=brson 2014-01-17 12:02:07 -08:00
result.rs stdtest: Fix all leaked trait imports 2014-01-07 23:51:38 -08:00
rtdeps.rs Convert some C functions to rust functions 2013-12-30 14:35:55 -08:00
run.rs stdtest: Fix all leaked trait imports 2014-01-07 23:51:38 -08:00
send_str.rs stdtest: Fix all leaked trait imports 2014-01-07 23:51:38 -08:00
str.rs Rename iterators for consistency 2014-01-18 01:15:15 -05:00
task.rs Support arbitrary stdout/stderr/logger handles 2014-01-06 13:19:53 -08:00
to_bytes.rs Tweak the interface of std::io 2014-01-17 10:00:47 -08:00
to_str.rs Rename To{Str,Bytes}Consume traits to Into*. 2013-12-15 01:04:22 +11:00
trie.rs Rename iterators for consistency 2014-01-18 01:15:15 -05:00
tuple.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
unicode.rs Remove dead codes 2013-12-08 02:55:28 -05:00
unit.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
util.rs Remove typo 2014-01-16 05:56:56 -05:00
vec.rs Rename iterators for consistency 2014-01-18 01:15:15 -05:00