document intended usage of 'workspace'
[rust-101.git] / workspace / src / main.rs
index 0b81cddfb83754a86cb18759096c7a105d651f22..771cd19fe8902193a75d9a4edef3acebafd442f1 100644 (file)
@@ -1,7 +1,10 @@
 mod part00;
 mod part01;
 mod part02;
+mod part04;
 
+#[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. */
 fn main() {
-   part00::part_main();
+   part00::main();
 }