aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/parser.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-12-25 13:31:06 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-12-25 13:31:06 +0100
commit2711a0f657037bc6f19fa91cc11269f93980b14c (patch)
tree56000002adf0fba4dd261510010e8bcf9cb04774 /askama_shared/src/parser.rs
parentc1e0636f46f5b5fff9625938a2dd4fb49f403073 (diff)
downloadaskama-2711a0f657037bc6f19fa91cc11269f93980b14c.tar.gz
askama-2711a0f657037bc6f19fa91cc11269f93980b14c.tar.bz2
askama-2711a0f657037bc6f19fa91cc11269f93980b14c.zip
Properly disable rustfmt in parser module
Diffstat (limited to '')
-rw-r--r--askama_shared/src/parser.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs
index 0485390..14d1fe8 100644
--- a/askama_shared/src/parser.rs
+++ b/askama_shared/src/parser.rs
@@ -1,6 +1,5 @@
// rustfmt doesn't do a very good job on nom parser invocations.
-//#![rustfmt_skip]
-//#![config_attr(rustfmt, rustfmt_skip)]
+#![cfg_attr(rustfmt, rustfmt_skip)]
use nom::{self, IResult};
use std::str;