Last active
December 19, 2015 10:49
-
-
Save huonw/5943096 to your computer and use it in GitHub Desktop.
directory/module structure (`_` = `/`)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn foo() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn bar() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub use self::b::foo; | |
pub mod b; | |
pub mod c; | |
pub struct SomeStruct { | |
x: int | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[path="a/mod.rs"] | |
pub mod a; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment