X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/d9fc9a4d89d8e4950f43308318962d9179bd1177..cb170f41304c809a22de172621845e637e28b8d2:/workspace/src/main.rs?ds=inline diff --git a/workspace/src/main.rs b/workspace/src/main.rs index 2722589..5dd1592 100644 --- a/workspace/src/main.rs +++ b/workspace/src/main.rs @@ -1,10 +1,16 @@ +#![allow(dead_code, unused_imports, unused_variables, unused_mut)] + +// Only the files imported here will be compiled. mod part00; mod part01; mod part02; mod part03; +mod part04; +mod part05; +mod part06; +mod part07; -#[cfg(not(test))] /* If you get warnings about functions not being used on "crate test", adding this attribute will fix them. - It says that the function is only to be compiled if we are *not* compiling for tests. */ +// This decides which part is actually run. fn main() { part00::main(); }