MCPcopy 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
15fn expect_panic() {
16 let a: Result<i32, ()> = Err(());
17 let _b = a.expect("Expect panic!");
18}
19
20fn no_panic_fp() {
21 println!("...");

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected