MCPcopy Create free account
hub / github.com/SixArm/rust-quick-guide / foo

Function foo

projects/topics/test_driven_development/src/main.rs:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10}
11
12pub fn foo() -> bool { // Define a function
13 true // Always return true
14}
15
16fn main() {
17 let x = foo();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected