Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeSentryAI/lockbud
/ expect_panic
Function
expect_panic
toys/panic/src/main.rs:15–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
fn expect_panic() {
16
let a: Result<i32, ()> = Err(());
17
let _b = a.expect(
"Expect panic!"
);
18
}
19
20
fn no_panic_fp() {
21
println!(
"..."
);
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected