1
Fork 0

Removing some mutable fields in libstd

This commit is contained in:
Alex Crichton 2013-03-24 12:41:19 -04:00
parent 5641777318
commit 3136fba5ae
7 changed files with 91 additions and 92 deletions

View file

@ -259,7 +259,7 @@ struct RWARCInner<T> { lock: RWlock, failed: bool, data: T }
*/
struct RWARC<T> {
x: SharedMutableState<RWARCInner<T>>,
mut cant_nest: ()
cant_nest: ()
}
/// Create a reader/writer ARC with the supplied data.