aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/operators.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-21 20:53:57 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-11-21 20:57:56 +0100
commit83cc6e0ca3e9878c47593ab737e6bf106ea062db (patch)
treee3ec5ac6d25c5835792d7fdc094253ab2fade059 /testing/tests/operators.rs
parent958680aee0fc2d58200382223937e8123fae7459 (diff)
downloadaskama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.tar.gz
askama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.tar.bz2
askama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.zip
Apply suggestions from rustfmt to improve style
Diffstat (limited to 'testing/tests/operators.rs')
-rw-r--r--testing/tests/operators.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/operators.rs b/testing/tests/operators.rs
index 625ec29..de51677 100644
--- a/testing/tests/operators.rs
+++ b/testing/tests/operators.rs
@@ -35,10 +35,10 @@ fn test_operators() {
#[derive(Template)]
#[template(path = "precedence.html")]
-struct PrecedenceTemplate { }
+struct PrecedenceTemplate {}
#[test]
fn test_precedence() {
- let t = PrecedenceTemplate { };
+ let t = PrecedenceTemplate {};
assert_eq!(t.render().unwrap(), "6".repeat(7));
}