arc: mark RWARC as non-Const
This commit is contained in:
parent
43165b54e0
commit
96eb1e50a4
1 changed files with 1 additions and 0 deletions
|
@ -252,6 +252,7 @@ struct RWARCInner<T> { lock: RWlock, failed: bool, data: T }
|
||||||
*
|
*
|
||||||
* Unlike mutex_arcs, rw_arcs are safe, because they cannot be nested.
|
* Unlike mutex_arcs, rw_arcs are safe, because they cannot be nested.
|
||||||
*/
|
*/
|
||||||
|
#[mutable]
|
||||||
struct RWARC<T> {
|
struct RWARC<T> {
|
||||||
x: SharedMutableState<RWARCInner<T>>,
|
x: SharedMutableState<RWARCInner<T>>,
|
||||||
cant_nest: ()
|
cant_nest: ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue