Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
fn unwrap_panic() {
11
let a: Option<i32> = None;
12
let _b = a.unwrap();
13
}
14
15
fn expect_panic() {
16
let a: Result<i32, ()> = Err(());
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected