For example, I have ./main.rs and 2 dirs "a", "b". At ./a/x.rs I need to call function from ./b/y.rs.
I try to add "mod b;" at the top of ./a/x.rs but get a compilation error.
How can I include module from the same dir level?
For example, I have ./main.rs and 2 dirs "a", "b". At ./a/x.rs I need to call function from ./b/y.rs.
I try to add "mod b;" at the top of ./a/x.rs but get a compilation error.
How can I include module from the same dir level?