diff options
| author | Kevin Stenerson <2653498+kestred@users.noreply.github.com> | 2018-11-07 01:49:53 -0700 |
|---|---|---|
| committer | Seiichi Uchida <seuchida@gmail.com> | 2018-11-07 17:49:53 +0900 |
| commit | cd8bb50aea35f73fa4be62857dfed88f772cd07e (patch) | |
| tree | 6d290160cc36277d5f7ea26697812addfbdc1f52 /src/test | |
| parent | 16d5f507b63da32783bc920a33e39580d35e492a (diff) | |
Trim the indentation on macros which heuristically appear to use block-style indentation (#3178)
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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]"; |
