The question is simple: Why can't I use use crate::utils
?
If I understood correctly, the crate
refers to the root of my crate. I've just generated a new library project that by default has a lib.rs
and utils.rs
file and although I understand why mod utils
work, I don't understand why use crate::utils
wouldn't.