MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / unwrap_panic

Function unwrap_panic

toys/panic/src/main.rs:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10fn unwrap_panic() {
11 let a: Option<i32> = None;
12 let _b = a.unwrap();
13}
14
15fn expect_panic() {
16 let a: Result<i32, ()> = Err(());

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected