From 12b2de3d6830430c694dd91f4d345f6421604a88 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 11 Feb 2019 10:14:27 -0500 Subject: [PATCH] Add macro examples --- .idea/misc.xml | 2 + .idea/rust.iml | 10 ++ .idea/workspace.xml | 210 +++++++++++++--------- hello_macro/Cargo.toml | 7 + hello_macro/hello_macro_derive/Cargo.toml | 12 ++ hello_macro/hello_macro_derive/src/lib.rs | 27 +++ hello_macro/src/lib.rs | 20 +++ pancakes/Cargo.toml | 9 + pancakes/src/main.rs | 9 + 9 files changed, 221 insertions(+), 85 deletions(-) create mode 100644 hello_macro/Cargo.toml create mode 100644 hello_macro/hello_macro_derive/Cargo.toml create mode 100644 hello_macro/hello_macro_derive/src/lib.rs create mode 100644 hello_macro/src/lib.rs create mode 100644 pancakes/Cargo.toml create mode 100644 pancakes/src/main.rs diff --git a/.idea/misc.xml b/.idea/misc.xml index 197e36a..c6c4293 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -41,6 +41,8 @@ + + diff --git a/.idea/rust.iml b/.idea/rust.iml index 6566c66..e27f61d 100644 --- a/.idea/rust.iml +++ b/.idea/rust.iml @@ -165,6 +165,14 @@ + + + + + + + + @@ -183,6 +191,7 @@ + @@ -191,6 +200,7 @@ + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3212679..7307ac7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -14,23 +14,55 @@ - - + + - - + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -60,14 +92,6 @@ @@ -167,14 +199,26 @@ - + - + + + + + + + + + + + + +