From 2711a0f657037bc6f19fa91cc11269f93980b14c Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 25 Dec 2017 13:31:06 +0100 Subject: Properly disable rustfmt in parser module --- askama_shared/src/parser.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'askama_shared/src') 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; -- cgit