MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / do_something

Function do_something

05_functions/rust/functions.rs:1–6  ·  view source on GitHub ↗
(x: u32)

Source from the content-addressed store, hash-verified

1fn do_something(x: u32) -> u32 {
2 fn do_some_other(x: u32) -> u32 {
3 x * 3
4 }
5 do_some_other(x)
6}
7
8fn main() {
9 println!("{}", do_something(3));

Callers

nothing calls this directly

Calls 1

do_some_otherFunction · 0.70

Tested by

no test coverage detected