rust/src/libstd
bors c30414f980 auto merge of #6471 : gifnksm/rust/reform-rational, r=brson
`std::ratio` module contains `BigRational` type, but the type is not usable by following reasons.
* `Ratio::new` requires `T: Copy + Num + Ord`, but `BigInt` is not implicitly copyable, because it contains unique vector.
* `BigInt` is not implements `Num`

So, I rewrite `Ratio` as follows.
* `Ratio` requires `T: Clone + Integer + Ord`.
  * `Copy` -> `Clone`: to be able to use `BigRational`
  * `Num` -> `Integer`: It is incorrect that a rational number constructed by two non-integer numbers.
* `BigInt` implements `Num` and `Orderable` which are required by `Integer` bound
2013-05-14 15:28:59 -07:00
..
num auto merge of #6471 : gifnksm/rust/reform-rational, r=brson 2013-05-14 15:28:59 -07:00
arc.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
arena.rs auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiyn 2013-05-09 03:51:32 -07:00
base64.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
bitv.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
c_vec.rs Mark c_vec functions as unsafe again 2013-05-09 07:40:19 -04:00
comm.rs libcore: Remove mutable fields from pipes 2013-05-08 17:03:59 -07:00
dbg.rs Remove 'Local Variable' comments 2013-05-02 13:22:04 +10:00
deque.rs Stop using the '<->' operator 2013-05-10 22:51:06 -04:00
dlist.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
ebml.rs Fix cosmetics for fail!() calls 2013-05-14 16:36:24 +02:00
fileinput.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
flate.rs Move flate from core to std 2013-05-10 16:00:26 -07:00
flatpipes.rs Ignore two failing flatpipes tests 2013-05-14 11:35:10 -07:00
fun_treemap.rs only use #[no_core] in libcore 2013-04-27 21:34:24 -04:00
future.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
getopts.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
io_util.rs libcore: Remove more mutable fields from comm 2013-05-08 17:03:59 -07:00
json.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
list.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
md4.rs renamed vec::from_slice to vec::to_owned 2013-05-10 18:38:54 +09:00
net.rs Add some extra description for std::net 2013-01-01 01:02:48 -05:00
net_ip.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
net_tcp.rs Fix cosmetics for fail!() calls 2013-05-14 16:36:24 +02:00
net_url.rs std: Use the new for protocol 2013-05-10 02:46:18 -04:00
par.rs libstd: Remove mutable fields from future and par 2013-05-08 17:03:58 -07:00
priority_queue.rs revert PriorityQueue to using init() 2013-05-13 19:46:20 -04:00
rc.rs libsyntax: Remove extern mod foo { ... } from the language. 2013-05-12 16:33:15 -07:00
rl.rs rusti: Remove #[allow(vecs_implicitly_copyable)] 2013-05-14 12:25:18 -04:00
rope.rs auto merge of #6349 : thestinger/rust/explicit_copy, r=thestinger 2013-05-09 11:18:43 -07:00
semver.rs Removed ascii functions from other modules 2013-04-24 22:26:09 +02:00
serialize.rs Register snapshots 2013-05-04 15:43:51 -07:00
sha1.rs auto merge of #6349 : thestinger/rust/explicit_copy, r=thestinger 2013-05-09 11:18:43 -07:00
smallintmap.rs std: Use the new for protocol 2013-05-10 02:46:18 -04:00
sort.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
sort_stage0.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
stats.rs renamed vec::from_slice to vec::to_owned 2013-05-10 18:38:54 +09:00
std.rc Warning police 2013-05-11 20:36:44 -07:00
sync.rs Fix cosmetics for fail!() calls 2013-05-14 16:36:24 +02:00
task_pool.rs libcore: Remove mutable fields from the task builder API 2013-05-08 17:03:59 -07:00
tempfile.rs libcore: Remove mutable fields from rand. 2013-05-08 17:03:58 -07:00
term.rs libstd: rename vec::each(var) to var.each 2013-05-09 14:20:04 +09:00
test.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
time.rs renamed str::from_slice to str::to_owned 2013-05-10 20:08:56 +09:00
timer.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
treemap.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
unicode.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
uv.rs Give core::rt and std::net their own uvll bindings 2013-03-18 16:59:11 -07:00
uv_global_loop.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
uv_iotask.rs auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiyn 2013-05-09 03:51:32 -07:00
uv_ll.rs libsyntax: Remove extern mod foo { ... } from the language. 2013-05-12 16:33:15 -07:00
workcache.rs Stop using the '<->' operator 2013-05-10 22:51:06 -04:00