about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2019-11-29 18:46:05 -0800
committerGitHub <noreply@github.com>2019-11-29 18:46:05 -0800
commit34f2c2def4cb00a27c4837bc0c894ed0472c7b50 (patch)
tree579a0152c996b81bb4d0a7e2e5494d0908fd9b8d /src/test/debuginfo/enum-thinlto.rs
parent9081929d45f12d3f56d43b1d6db7519981580fc9 (diff)
parent60091ee826b071a122ad4ef4ae833591e1db553b (diff)
downloadrust-34f2c2def4cb00a27c4837bc0c894ed0472c7b50.tar.gz
rust-34f2c2def4cb00a27c4837bc0c894ed0472c7b50.zip
Rollup merge of #66818 - dtolnay:fmt1, r=Dylan-DPC
Format libstd/os with rustfmt

(Same strategy as #66691.)

This commit applies rustfmt with rust-lang/rust's default settings to files in src/libstd/os *that are not involved in any currently open PR* to minimize merge conflicts. The list of files involved in open PRs was 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/libstd/os -name '*.rs' \
        | xargs rustfmt --edition=2018 --unstable-features --skip-children
    $ rg libstd/os outstanding_files | xargs git checkout --

Repeating this process several months apart should get us coverage of most of the rest of the files.

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
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions