cargo fmt

This commit is contained in:
elipeter 2026-06-02 13:49:39 -05:00
parent 9c99f6c6a9
commit 321d0a61ab
3 changed files with 42 additions and 15 deletions

View file

@ -4075,7 +4075,10 @@ class C {
"#;
let (cfg, _entry) = parse_and_build(src, "java", ts_lang);
let ifs = if_nodes(&cfg);
let arith: Vec<_> = ifs.iter().filter_map(|&n| cfg[n].cond_arith.clone()).collect();
let arith: Vec<_> = ifs
.iter()
.filter_map(|&n| cfg[n].cond_arith.clone())
.collect();
// Exactly one If condition is a pure int-arith comparison; the
// `s.length() > 200` one must NOT be captured (it contains a call).