diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-08-10 12:52:31 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-08-10 12:52:31 +0200 |
commit | cd685eefb48bf16ff1e15205228a758daccb0dd6 (patch) | |
tree | c7e0c4192fcba30e04e6adb865aabb318b1d7a88 /testing/tests/hello.rs | |
parent | 3b4c7e266bf9f2d1e6d23a190a8d45b77bd32e9b (diff) | |
download | askama-cd685eefb48bf16ff1e15205228a758daccb0dd6.tar.gz askama-cd685eefb48bf16ff1e15205228a758daccb0dd6.tar.bz2 askama-cd685eefb48bf16ff1e15205228a758daccb0dd6.zip |
Disable debug output for example by default
Diffstat (limited to 'testing/tests/hello.rs')
-rw-r--r-- | testing/tests/hello.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/tests/hello.rs b/testing/tests/hello.rs index 12ffde6..0d0c976 100644 --- a/testing/tests/hello.rs +++ b/testing/tests/hello.rs @@ -4,7 +4,7 @@ extern crate askama; use askama::Template; #[derive(Template)] // this will generate the code... -#[template(path = "hello.html", print = "all")] // using the template in this path, relative +#[template(path = "hello.html")] // using the template in this path, relative // to the templates dir in the crate root struct HelloTemplate<'a> { // the name of the struct can be anything name: &'a str, // the field name should match the variable name |