Skip to content

Instantly share code, notes, and snippets.

@nulldatamap
Created April 30, 2014 17:14
Show Gist options
  • Select an option

  • Save nulldatamap/b5ba0b3b35a0727bbd5c to your computer and use it in GitHub Desktop.

Select an option

Save nulldatamap/b5ba0b3b35a0727bbd5c to your computer and use it in GitHub Desktop.
// main.rs
// ...
mod A;
// ...
// A/mod.rs
// ...
pub use B;
pub use C;
mod B;
mod C;
// ...
/*
And then A/B.rs and A/C.rs export some items
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment