aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/include.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/include.rs
parent958680aee0fc2d58200382223937e8123fae7459 (diff)
downloadaskama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.tar.gz
askama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.tar.bz2
askama-83cc6e0ca3e9878c47593ab737e6bf106ea062db.zip
Apply suggestions from rustfmt to improve style
Diffstat (limited to '')
-rw-r--r--testing/tests/include.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/tests/include.rs b/testing/tests/include.rs
index d2998a1..f474c55 100644
--- a/testing/tests/include.rs
+++ b/testing/tests/include.rs
@@ -12,8 +12,6 @@ struct IncludeTemplate<'a> {
#[test]
fn test_include() {
let strs = vec!["foo", "bar"];
- let s = IncludeTemplate {
- strs: &strs,
- };
+ let s = IncludeTemplate { strs: &strs };
assert_eq!(s.render().unwrap(), "INCLUDED: fooINCLUDED: bar")
}