diff options
| author | bors <bors@rust-lang.org> | 2018-01-01 04:09:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-01 04:09:51 +0000 |
| commit | f3ca88cff7dc397f409f561321ee3c4021c05436 (patch) | |
| tree | 730a4f2553bd6c324f195eda51d4347a5c0e5c64 /src/liballoc | |
| parent | 037bc651e56ca0bb92c053b31b87db5fa0dda22c (diff) | |
| parent | 4577a70934b6167862586cbb7f52b75fad448d05 (diff) | |
| download | rust-f3ca88cff7dc397f409f561321ee3c4021c05436.tar.gz rust-f3ca88cff7dc397f409f561321ee3c4021c05436.zip | |
Auto merge of #47064 - kennytm:force-trailing-newlines, r=estebank
Add a tidy check for missing or too many trailing newlines. I've noticed recently there are lots of review comments requesting to fix trailing newlines. If this is going to be an official style here, it's better to let the CI do this repetitive check.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/tests/cow_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/tests/cow_str.rs b/src/liballoc/tests/cow_str.rs index aa87ee84b3e..63939686ab7 100644 --- a/src/liballoc/tests/cow_str.rs +++ b/src/liballoc/tests/cow_str.rs @@ -148,4 +148,4 @@ fn check_cow_clone_from() { let c2: Cow<str> = Cow::Owned(s); c1.clone_from(&c2); assert!(c1.into_owned().capacity() >= 25); -} \ No newline at end of file +} |
