If I have a file one.rs and two.rs ,how do I import functions in two.rs into one.rs ?
Thank you !
If I have a file one.rs and two.rs ,how do I import functions in two.rs into one.rs ?
Thank you !
You may want to read the Modules chapter in the Rust book: Modules - The Rust Programming Language