From ce0b876c50a8e8c28f87943c2e18e430c7a04b8f Mon Sep 17 00:00:00 2001 From: Bodil Stokke Date: Sat, 17 Nov 2018 21:50:26 +0000 Subject: [PATCH] We have tests now, we don't need bin/main.rs --- typed-html/src/bin/main.rs | 41 -------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 typed-html/src/bin/main.rs diff --git a/typed-html/src/bin/main.rs b/typed-html/src/bin/main.rs deleted file mode 100644 index 2ff20fb..0000000 --- a/typed-html/src/bin/main.rs +++ /dev/null @@ -1,41 +0,0 @@ -#![feature(proc_macro_hygiene)] - -#[macro_use] -extern crate typed_html; - -use typed_html::dom::TextNode; -use typed_html::html; -use typed_html::types::*; - -struct Foo { - foo: &'static str, -} - -fn main() { - let the_big_question: Box> = text!("How does she eat?"); - let splain_class = "well-actually"; - let wibble = Foo { foo: "welp" }; - let doc = html!( - - - "Hello Kitty!" - - - -

"Hello Kitty!"

-

- "She is not a ""cat"". She is a ""human girl""." -

-

{the_big_question}

- { - (1..4).map(|i| { - html!(

{ text!("{}. Ceci n'est pas une chatte.", i) }

) - }) - } -

""

- - - - ); - println!("{}", doc.to_string()); -}