1
2
3
4
5
6
7
pub struct Config {
	foo: i32
}

pub fn print_cfg(cfg: Config) {
	println!("- {}", cfg.foo);
}