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

Function conditional_function

src/bin/attribute_cfg_custom.rs:5–7  ·  view source on GitHub ↗

#[cfg(some_condition)]*/

()

Source from the content-addressed store, hash-verified

3/*
4#[cfg(some_condition)]*/
5fn conditional_function() {
6 println!("condition met!");
7}
8
9fn part0() {
10 conditional_function();

Callers 1

part0Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected