Skip to content

Commit a162566

Browse files
committed
fix stack overflow on tracing
1 parent 872e01c commit a162566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/filter/opt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub fn simplify(filter: Filter) -> Filter {
4646
if let Some(f) = SIMPLIFIED.lock().unwrap().get(&filter) {
4747
return *f;
4848
}
49-
rs_tracing::trace_scoped!("simplify", "spec": spec(filter));
49+
rs_tracing::trace_scoped!("simplify", "spec": spec2(&to_op(filter)));
5050
let original = filter;
5151
let result = to_filter(match to_op(filter) {
5252
Op::Compose(filters) => {

0 commit comments

Comments
 (0)