From 96eb1e50a49ce24adf198458e3d09fcd1117a70f Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 7 May 2013 13:00:00 -0400 Subject: arc: mark RWARC as non-Const --- src/libstd/arc.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstd') diff --git a/src/libstd/arc.rs b/src/libstd/arc.rs index 98d7a01b928..6c39fa1f9dc 100644 --- a/src/libstd/arc.rs +++ b/src/libstd/arc.rs @@ -252,6 +252,7 @@ struct RWARCInner { lock: RWlock, failed: bool, data: T } * * Unlike mutex_arcs, rw_arcs are safe, because they cannot be nested. */ +#[mutable] struct RWARC { x: SharedMutableState>, cant_nest: () -- cgit 1.4.1-3-g733a5