Include file in root and other files

Let's say I have this file structure:
src >

I want to include in and I can do mod include in, but what do I do in to include it there too?

use crate::include;

mod behaves the same way as fn, struct and enum. It crates a thing in one place, and then you use it from other places.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.