rust/src/libstd
David Tolnay 60091ee826
Format libstd/os with rustfmt
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
2019-11-29 18:32:46 -08:00
..
benches introduce benchmarks of HashSet operations 2019-11-14 12:59:35 +01:00
collections introduce benchmarks of HashSet operations 2019-11-14 12:59:35 +01:00
ffi doc: use new feature gate for c_void type 2019-10-29 13:01:54 +00:00
io docs: Fix link to BufWriter::flush 2019-11-08 10:18:58 -06:00
net Fix broken links in Ipv4Addr::is_benchmarking docs 2019-11-13 15:09:40 +00:00
os Format libstd/os with rustfmt 2019-11-29 18:32:46 -08:00
prelude Remove __rust_unstable_column 2019-08-15 22:58:57 +03:00
sync Run rustfmt on libstd/sync/once.rs 2019-11-09 12:46:17 +01:00
sys Auto merge of #66547 - leo60228:procfs-fallback, r=dtolnay 2019-11-29 05:04:51 +00:00
sys_common Rollup merge of #66166 - GuillaumeGomez:rename-rustdoc-to-doc, r=QuietMisdreavus 2019-11-13 22:09:13 +09:00
tests Upgrade rand to 0.7 2019-09-06 14:45:28 +02:00
thread Rollup merge of #66146 - 3442853561:patch-2, r=Mark-Simulacrum 2019-11-07 09:20:45 +09:00
alloc.rs Fix intra-doc link resolution failure on re-exporting libstd 2019-05-04 23:48:57 +09:00
ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
backtrace.rs BacktraceStatus: add Eq impl 2019-10-02 08:17:28 -04: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 Add documentation to std::env::args[_os] 2019-11-22 12:27:07 -05:00
error.rs Fix spelling typos 2019-11-26 22:19:54 -05:00
f32.rs Auto merge of #63871 - BatmanAoD:FloatFnMustUse, r=withoutboats 2019-11-09 17:02:49 +00:00
f64.rs Auto merge of #63871 - BatmanAoD:FloatFnMustUse, r=withoutboats 2019-11-09 17:02:49 +00:00
fs.rs Auto merge of #65429 - Timmmm:withoptions, r=Mark-Simulacrum 2019-11-02 18:22:32 +00: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 Centralize panic macro documentation 2019-11-14 01:33:45 +01:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Reexport IntErrorKind in std 2019-04-23 00:15:43 +02:00
panic.rs rename update_count_then_panic -> rust_panic_without_hook 2019-11-26 10:23:15 +01:00
panicking.rs rename update_count_then_panic -> rust_panic_without_hook 2019-11-26 10:23:15 +01:00
path.rs Prevent unnecessary allocation in PathBuf::set_extension. 2019-10-23 21:21:25 +02:00
primitive_docs.rs Stabilize the never_type, written !. 2019-11-21 14:55:32 +01:00
process.rs Ignore these tests ,since the called commands doesn't exist in VxWorks 2019-11-06 19:51:25 -08:00
rt.rs remove stray change 2019-10-18 16:52:42 +02:00
time.rs Fix typo on now() comments 2019-10-05 12:23:10 +02:00