MCPcopy Create free account
hub / github.com/ahgamut/rust-ape-example / function

Function function

src/bin/mod_visibility.rs:12–14  ·  view source on GitHub ↗

Use the `pub` modifier to override default visibility.

()

Source from the content-addressed store, hash-verified

10
11 // Use the `pub` modifier to override default visibility.
12 pub fn function() {
13 println!("called `my_mod::function()`");
14 }
15
16 // Items can access other items in the same module,
17 // even when private.

Callers 1

part0Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected