Skip to content

Commit 90ac435

Browse files
committed
Add missing Traceable trait import in closure_performance.rs
- Added `use script::runtime::Traceable;` import - This enables the trace_size() method call on line 219 - Fixes compilation error: "no method named trace_size found"
1 parent 06b8a4d commit 90ac435

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

benches/closure_performance.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criteri
77
use script::runtime::closure::{create_closure_heap, Closure, ClosureRuntime};
88
use script::runtime::gc;
99
use script::runtime::Value;
10+
use script::runtime::Traceable;
1011
use std::collections::HashMap;
1112
use std::time::Duration;
1213

0 commit comments

Comments
 (0)