I have three mod a, b, c in a crate, but I can't find a way to use a in mod b, what is the statement?
src
a
mod.rs
b
mod.rs
c
mod.rs
I have three mod a, b, c in a crate, but I can't find a way to use a in mod b, what is the statement?
src
a
mod.rs
b
mod.rs
c
mod.rs
// a/mod.rs
use super::b;
Thanks a lot.