summary refs log tree commit diff
path: root/src/libcore/managed.rs
AgeCommit message (Collapse)AuthorLines
2012-12-03core: rename box to managed. Close #4079.Graydon Hoare-0/+62
2012-09-10Rename the poorly named Managed<T> type to Mut<T>.Niko Matsakis-143/+0
The Mut<T> type is intended to allow freezable data stuctures to be stored in `@mut` boxes. Currently this causes borrowck to be very conserivative since it cannot prove that you are not modifying such a structure while iterating over it, for example. But if you do `@Mut<T>` instead of `@mut T`, you will effectively convert borrowck's static checks into dynamic ones. This lets you use the e.g. send_map just like a Java Map or something else.
2012-09-07Convert field terminators to commas. Stop parsing semis.Brian Anderson-2/+2
2012-09-04libcore: "import" -> "use"Patrick Walton-2/+2
2012-09-02core: warn(non_camel_case_types) everywhere, with few exceptionsBrian Anderson-1/+0
2012-08-21ignore should_fail tests on windowsNiko Matsakis-0/+3
2012-08-21add tests to manage, fix test breakage I inadvertently introducedNiko Matsakis-3/+82
2012-08-21implement a map testing benchmarkNiko Matsakis-0/+62
This involved some other changes: - add a managed<T> wrapper that makes send_map usable from @-data - implement map<K,V> for managed<send_map> Unit tests are coming.