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

Function main

0b_traits/rust/return_trait.rs:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4}
5
6fn main() {
7 let plus_one = make_adder_function(1);
8 assert_eq!(plus_one(2), 3);
9}

Callers

nothing calls this directly

Calls 1

make_adder_functionFunction · 0.85

Tested by

no test coverage detected