summaryrefslogtreecommitdiff
path: root/rust-book/crates/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust-book/crates/src/main.rs')
-rwxr-xr-xrust-book/crates/src/main.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/rust-book/crates/src/main.rs b/rust-book/crates/src/main.rs
new file mode 100755
index 0000000..80668f2
--- /dev/null
+++ b/rust-book/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);
+}