about summary refs log tree commit diff
path: root/src/libcore/mutable.rs
AgeCommit message (Collapse)AuthorLines
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-1/+1
2012-09-10Make all moves explicit in libsyntaxTim Chevalier-1/+1
2012-09-10Rename the poorly named Managed<T> type to Mut<T>.Niko Matsakis-0/+151
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.