summaryrefslogtreecommitdiffstats
path: root/svgbob/examples/spec1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'svgbob/examples/spec1.rs')
-rw-r--r--svgbob/examples/spec1.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/svgbob/examples/spec1.rs b/svgbob/examples/spec1.rs
deleted file mode 100644
index 255918e..0000000
--- a/svgbob/examples/spec1.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-extern crate svg;
-extern crate svgbob;
-
-use svgbob::Grid;
-use svgbob::Settings;
-
-fn main() {
- let file = "examples/spec1.svg";
- let g = Grid::from_str(get_arg(), &Settings::default());
- let svg = g.get_svg();
- svg::save(file, &svg).unwrap();
- println!("Saved to {}", file);
-}
-
-fn get_arg() -> &'static str {
- r#"-+-"#
-}