From 9facd4cc2a37ecc6d24f0c090e560628d8b7f151 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 21 Nov 2017 20:54:24 +0100 Subject: Don't restyle code in parser module --- askama_shared/src/parser.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'askama_shared/src') diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs index 338bf1e..631a283 100644 --- a/askama_shared/src/parser.rs +++ b/askama_shared/src/parser.rs @@ -1,3 +1,7 @@ +// rustfmt doesn't do a very good job on nom parser invocations. +#![rustfmt_skip] +#![config_attr(rustfmt, rustfmt_skip)] + use nom::{self, IResult}; use std::str; -- cgit