aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-14 20:37:28 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-14 20:37:28 +0100
commitfe616492dcf0c5df2e42e8e0534c60543da77103 (patch)
treec2c13768845f7a34f9fc982cd5d2a22b98bc1fb6
parentca5bfc111616ac29eb18165d60bf309c2f18f419 (diff)
downloadaskama-fe616492dcf0c5df2e42e8e0534c60543da77103.tar.gz
askama-fe616492dcf0c5df2e42e8e0534c60543da77103.tar.bz2
askama-fe616492dcf0c5df2e42e8e0534c60543da77103.zip
Remove some useless cruft
Diffstat (limited to '')
-rw-r--r--askama/src/generator.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/askama/src/generator.rs b/askama/src/generator.rs
index d8018c6..eee8bc5 100644
--- a/askama/src/generator.rs
+++ b/askama/src/generator.rs
@@ -128,7 +128,6 @@ impl<'a> Generator<'a> {
self.writeln(&format!("writer.write_str({:#?}).unwrap();",
val));
}
- } else if self.next_ws.is_some() {
}
self.next_ws = None;
}