rust/src/libcore
David Tolnay 95e00bfed8
Format libcore with rustfmt
This commit applies rustfmt with default settings to files in
src/libcore *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/libcore -name '*.rs' | xargs rustfmt --edition=2018
    $ rg libcore outstanding_files | xargs git checkout --

Repeating this process several months apart should get us coverage of
most of the rest of libcore.
2019-11-26 23:02:11 -08:00
..
array Use drop_in_place in array::IntoIter::drop 2019-11-18 15:56:26 +01:00
benches make ./x.py bench again 2019-11-23 07:06:27 +01:00
char Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
fmt Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
future Use associated_type_bounds where applicable - closes #61738 2019-08-08 22:39:15 +02:00
hash Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
iter Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
macros Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
mem Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
num Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
ops Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
prelude Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
ptr Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
slice Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
str Have tidy ensure that we document all unsafe blocks in libcore 2019-11-06 11:04:42 +01:00
sync Snap cfgs 2019-11-12 16:36:57 -05:00
task Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
tests Have tidy ensure that we document all unsafe blocks in libcore 2019-11-06 11:04:42 +01:00
unicode Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
alloc.rs Have tidy ensure that we document all unsafe blocks in libcore 2019-11-06 11:04:42 +01:00
any.rs Rollup merge of #65961 - lcnr:typename_of, r=Dylan-DPC 2019-11-23 02:22:44 +01:00
ascii.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
bool.rs Snap cfgs to new beta 2019-09-25 08:42:46 -04:00
borrow.rs be more direct about borrow requirenments 2019-04-03 11:41:24 +03:00
Cargo.toml Move the matches! macro to the prelude 2019-10-23 15:35:36 +02:00
cell.rs make things ugly 2019-11-13 09:31:08 +01:00
clone.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
cmp.rs follow the same function order in the trait 2019-11-26 22:55:38 +08:00
convert.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
default.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
ffi.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
hint.rs Have tidy ensure that we document all unsafe blocks in libcore 2019-11-06 11:04:42 +01:00
internal_macros.rs std: Remove internal definitions of cfg_if! macro 2019-06-10 10:58:44 -07:00
intrinsics.rs Auto merge of #66156 - Mark-Simulacrum:stage0-step, r=pietroalbini 2019-11-13 00:42:19 +00:00
iter_private.rs Remove licenses 2018-12-25 21:08:33 -07:00
lib.rs Stabilize the never_type, written !. 2019-11-21 14:55:32 +01:00
marker.rs Stabilize the never_type, written !. 2019-11-21 14:55:32 +01:00
option.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
panic.rs Snap cfgs 2019-11-12 16:36:57 -05:00
panicking.rs make comment compile 2019-11-24 13:15:22 +01:00
pin.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
raw.rs Fix more tests after revert of rustdoc cfg(test) feature 2019-06-09 18:15:53 +01:00
result.rs Auto merge of #66322 - lzutao:consistent-result-map_or_else, r=dtolnay 2019-11-24 07:37:01 +00:00
time.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
tuple.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
unit.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00