Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Rust-for-Blockchain-Application-Development
/ plus_ten
Function
plus_ten
chapter 2/code.rs:178–180 ·
view source on GitHub ↗
(a: i32)
Source
from the content-addressed store, hash-verified
176
}
177
178
fn plus_ten(a: i32) -> i32 {
179
a+10
180
}
181
182
183
// Match Control Flow
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected