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

Function assert_panic

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

Source from the content-addressed store, hash-verified

3}
4
5fn assert_panic() {
6 let a = 10;
7 assert_eq!(a, 12);
8}
9
10fn unwrap_panic() {
11 let a: Option<i32> = None;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected