Modules
A module contains functions, structs, methods and types:
#![allow(unused)] fn main() { mod modulename { // .. } }
Currently there needs to be a top level module in every file.
A module contains functions, structs, methods and types:
#![allow(unused)] fn main() { mod modulename { // .. } }
Currently there needs to be a top level module in every file.