francorbacho@lemmy.worldtoRust@programming.dev•Can I not use dot in filename for a Rust module?
9·
1 year agoDots are not allowed. If it’s not too much code, you can use inline modules, otherwise you have to stick to:
action/
attack/test/
mod.rs
And then:
mod attack::test;
Thanks for the info. Where can I follow/read this discussion?