Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ main
Function
main
code/chapter03/par_checker2.rs:71–77 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
}
70
71
fn main() {
72
let sa =
"(){}[]"
;
73
let sb =
"(){)[}"
;
74
let res1 = par_checker2(sa);
75
let res2 = par_checker2(sb);
76
println!(
"sa balanced: {res1}, sb balanced: {res2}"
);
77
}
Callers
nothing calls this directly
Calls
1
par_checker2
Function · 0.70
Tested by
no test coverage detected