rust/src/libstd
David Tolnay 4436c9d354
Format libstd with rustfmt
This commit applies rustfmt with rust-lang/rust's default settings to
files in src/libstd *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 -name '*.rs' \
        | xargs rustfmt --edition=2018 --unstable-features --skip-children
    $ rg libstd outstanding_files | xargs git checkout --

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

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
2019-11-29 18:43:27 -08:00
..
benches Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
collections Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
ffi Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
io Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
net Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
os rename cfg(rustdoc) into cfg(doc) 2019-11-06 18:32:51 +01:00
prelude Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
sync Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
sys Auto merge of #66547 - leo60228:procfs-fallback, r=dtolnay 2019-11-29 05:04:51 +00:00
sys_common Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
tests Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
thread Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
alloc.rs Fix intra-doc link resolution failure on re-exporting libstd 2019-05-04 23:48:57 +09:00
ascii.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
backtrace.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
build.rs redesign of the interface to the unikernel HermitCore 2019-10-06 15:26:14 +00:00
Cargo.toml Merge branch 'master' into rusty-hermit, resolve conflicts 2019-10-25 09:09:55 +02:00
env.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
error.rs Fix spelling typos 2019-11-26 22:19:54 -05:00
f32.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
f64.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
fs.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
future.rs Remove some stack frames from .async calls 2019-11-13 17:14:50 -08:00
keyword_docs.rs add missing 'static lifetime in docs 2019-11-16 08:40:35 +01:00
lib.rs Stabilize the never_type, written !. 2019-11-21 14:55:32 +01:00
macros.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
panic.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
panicking.rs rename update_count_then_panic -> rust_panic_without_hook 2019-11-26 10:23:15 +01:00
path.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
primitive_docs.rs Stabilize the never_type, written !. 2019-11-21 14:55:32 +01:00
process.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
rt.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
time.rs Fix typo on now() comments 2019-10-05 12:23:10 +02:00