MCPcopy Create free account
hub / github.com/ChristianSchott/boris / question_mark

Function question_mark

example/src/question_mark.rs:5–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3}
4
5fn question_mark() -> Result<(), String> {
6 let x: Result<i32, String> = may_fail();
7 let y = x?;
8 println!("Success: {}", y);
9 Result::Ok(())
10}

Callers

nothing calls this directly

Calls 1

may_failFunction · 0.85

Tested by

no test coverage detected