rust/src/liballoc/tests
Mazdak Farrokhzad 3db3f156f1
Rollup merge of #66890 - dtolnay:fmt4, r=Dylan-DPC
Format liballoc with rustfmt

Same strategy as #66691 -- as with my previous formatting PRs, I am avoiding causing merge conflicts in other PRs by only touches those files that are not involved in any currently open PR. Files that appear in new PRs between when this PR is opened and when it makes it to the top of the bors queue will be reverted from this PR.

The list of files involved in open PRs is determined by querying GitHub's GraphQL API [with this script](https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8).

With the list of files from the script in outstanding_files, the relevant commands were:

```
$ find src/liballoc -name '*.rs' \
    | xargs rustfmt --edition=2018 --unstable-features --skip-children
$ rg liballoc outstanding_files | xargs git checkout --
```

To confirm no funny business:

```
$ git checkout $THIS_COMMIT^
$ git show --pretty= --name-only $THIS_COMMIT \
    | xargs rustfmt --edition=2018 --unstable-features --skip-children
$ git diff $THIS_COMMIT  # there should be no difference
```

r? @Dylan-DPC
2019-12-01 04:49:31 +01:00
..
btree Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
arc.rs Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
binary_heap.rs enable more panic-catching tests in Miri 2019-11-23 08:53:53 +01:00
boxed.rs Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
cow_str.rs Deny rust_2018_idioms in liballoc tests 2019-04-20 16:05:25 +02:00
fmt.rs Remove licenses 2018-12-25 21:08:33 -07:00
heap.rs test more possible overaligned requests 2019-07-02 13:07:51 +02:00
lib.rs Auto merge of #65637 - ssomers:master, r=scottmcm 2019-11-13 03:48:42 +00:00
linked_list.rs Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
rc.rs Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
slice.rs enable more panic-catching tests in Miri 2019-11-23 08:53:53 +01:00
str.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
string.rs Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00
vec.rs Rollup merge of #66662 - RalfJung:miri-test-liballoc, r=dtolnay 2019-12-01 04:49:21 +01:00
vec_deque.rs Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00