projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some more exercises
[rust-101.git]
/
workspace
/
src
/
main.rs
diff --git
a/workspace/src/main.rs
b/workspace/src/main.rs
index 0b81cddfb83754a86cb18759096c7a105d651f22..771cd19fe8902193a75d9a4edef3acebafd442f1 100644
(file)
--- a/
workspace/src/main.rs
+++ b/
workspace/src/main.rs
@@
-1,7
+1,10
@@
mod part00;
mod part01;
mod part02;
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() {
fn main() {
- part00::
part_
main();
+ part00::main();
}
}