Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
pub fn foo() -> bool { // Define a function
13
true // Always return true
14
}
15
16
fn main() {
17
let x = foo();
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected