mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
style(comments): remove decorative comment borders across files for consistency and cleaner code structure
This commit is contained in:
parent
321d0a61ab
commit
879f965379
39 changed files with 16 additions and 379 deletions
|
|
@ -479,11 +479,9 @@ mod tests {
|
|||
let n1 = NodeIndex::new(1);
|
||||
let n2 = NodeIndex::new(2);
|
||||
|
||||
// Push n0
|
||||
assert!(in_wl.insert(n0));
|
||||
wl.push_back(n0);
|
||||
|
||||
// Push n1
|
||||
assert!(in_wl.insert(n1));
|
||||
wl.push_back(n1);
|
||||
|
||||
|
|
@ -492,7 +490,6 @@ mod tests {
|
|||
// wl still has only 2 entries
|
||||
assert_eq!(wl.len(), 2);
|
||||
|
||||
// Pop n0
|
||||
let popped = wl.pop_front().unwrap();
|
||||
in_wl.remove(&popped);
|
||||
assert_eq!(popped, n0);
|
||||
|
|
@ -503,7 +500,6 @@ mod tests {
|
|||
assert!(in_wl.insert(n0));
|
||||
wl.push_back(n0);
|
||||
|
||||
// Push n2
|
||||
assert!(in_wl.insert(n2));
|
||||
wl.push_back(n2);
|
||||
|
||||
|
|
|
|||
|
|
@ -1558,9 +1558,7 @@ mod tests {
|
|||
));
|
||||
}
|
||||
|
||||
// ─────────────────────────────────────────────────────────────────
|
||||
// chain-receiver decomposition + chain_proxies tracking
|
||||
// ─────────────────────────────────────────────────────────────────
|
||||
//
|
||||
// These tests pin the contract that:
|
||||
// 1. `try_chain_decompose` parses dotted callees into receiver +
|
||||
|
|
@ -1981,12 +1979,10 @@ mod tests {
|
|||
assert!(lc.contains(ResourceLifecycle::CLOSED));
|
||||
}
|
||||
|
||||
// ─────────────────────────────────────────────────────────────────
|
||||
// Pointer-analysis: PtrProxyHint::FieldOnly routes
|
||||
// single-dot proxy-acquire to chain_proxies, suppressing the
|
||||
// SymbolId path that would otherwise mark the field-aliased local
|
||||
// as a leakable resource.
|
||||
// ─────────────────────────────────────────────────────────────────
|
||||
|
||||
#[test]
|
||||
fn field_only_hint_routes_single_dot_acquire_to_chain_proxies() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue