diff options
| author | 53hornet <53hornet@gmail.com> | 2019-03-22 21:47:54 -0400 | 
|---|---|---|
| committer | 53hornet <53hornet@gmail.com> | 2019-03-22 21:47:54 -0400 | 
| commit | fca68dfe8b49914d13f29706522cb0d3ad80a390 (patch) | |
| tree | a36175ce0d80b2613da79461de15fef055a8158e /crates/src/main.rs | |
| parent | b1ea85616e4367713afbeabb6cfb6ae553c17a60 (diff) | |
| download | learning-rust-fca68dfe8b49914d13f29706522cb0d3ad80a390.tar.xz learning-rust-fca68dfe8b49914d13f29706522cb0d3ad80a390.zip  | |
Added crates module (?)
Diffstat (limited to 'crates/src/main.rs')
| -rw-r--r-- | crates/src/main.rs | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/src/main.rs b/crates/src/main.rs new file mode 100644 index 0000000..80668f2 --- /dev/null +++ b/crates/src/main.rs @@ -0,0 +1,8 @@ +use art::PrimaryColor; +use art::mix; + +fn main() { +    let red = PrimaryColor::Red, +    let yellow = PrimaryColor::Yellow; +    mix(red, yellow); +}  |