diff options
Diffstat (limited to 'core/ops.rs')
-rw-r--r-- | core/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ops.rs b/core/ops.rs index 05b91f32f..20b14ec39 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -172,7 +172,7 @@ impl OpState { op_table: OpTable::default(), get_error_class_fn: &|_| "Error", tracker: OpsTracker { - ops: Vec::with_capacity(256), + ops: RefCell::new(Vec::with_capacity(256)), }, gotham_state: Default::default(), } |