On 21/12/17 20:12, google via dev-servo wrote:
Does it only compile those modules that are actually imported ?
In current Rust, the `mod` keyword is a module *declaration*. When used without a {…} block, it makes the compiler read a corresponding .rs file.
`use` imports some names in the current scope. https://doc.rust-lang.org/book/second-edition/ch07-00-modules.html -- Simon Sapin _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo