From cd8bb50aea35f73fa4be62857dfed88f772cd07e Mon Sep 17 00:00:00 2001 From: Kevin Stenerson <2653498+kestred@users.noreply.github.com> Date: Wed, 7 Nov 2018 01:49:53 -0700 Subject: Trim the indentation on macros which heuristically appear to use block-style indentation (#3178) --- src/test/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/mod.rs b/src/test/mod.rs index aa3e729bb43..5999d6f71bf 100644 --- a/src/test/mod.rs +++ b/src/test/mod.rs @@ -749,7 +749,7 @@ impl ConfigCodeBlock { .code_block .as_ref() .unwrap() - .split('\n') + .lines() .nth(0) .unwrap_or("") == "#![rustfmt::skip]"; -- cgit 1.4.1-3-g733a5