summary refs log tree commit diff
path: root/src/rustc/util/common.rs
AgeCommit message (Collapse)AuthorLines
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-4/+4
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-2/+2
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-1/+1
Instead of using the new_ prefix just name them after their type
2012-03-13Overhaul constructor naming in libsBrian Anderson-1/+1
2012-03-10In typestate, consider infinite loops w/ conts to be infiniteTim Chevalier-0/+16
If a loop { } contains a cont, that doesn't affect whether the entire loop diverges. Only breaks affect that. Fix that in typestate.
2012-03-10core: Remove the nearly empty math moduleBrian Anderson-1/+0
This mod only had two functions, all of whose users have been changed to use the uint module.
2012-03-08Rename last to last_opt, last_unsafe to lastTim Chevalier-1/+3
As per discussion on IRC. I am about to file an RFC for further discussion about the more general issue of whether to enforce invariants through types, typestate, or dynamic checks, but for now, removing the misleading name "last_unsafe".
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+103