Answers for "use module within another module rust"

0

use module within another module rust

// in your main.rs file add
mod my_module;
// to the top.
// In your module file you can add
use crate::my_module;
// To the top
Posted by: Guest on December-12-2021

Code answers related to "use module within another module rust"

Browse Popular Code Answers by Language