diff options
| author | David Tolnay <dtolnay@gmail.com> | 2019-11-24 01:43:32 -0800 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2019-11-26 23:02:11 -0800 |
| commit | 95e00bfed801e264e9c4ac817004153ca0f19eb6 (patch) | |
| tree | 79549f727c3fc8bb0b09779a7dc3f94df43654f2 /src/libcore/mem/manually_drop.rs | |
| parent | 809e180a76ce97340bf4354ff357bc59e3ca40b2 (diff) | |
| download | rust-95e00bfed801e264e9c4ac817004153ca0f19eb6.tar.gz rust-95e00bfed801e264e9c4ac817004153ca0f19eb6.zip | |
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.
Diffstat (limited to 'src/libcore/mem/manually_drop.rs')
| -rw-r--r-- | src/libcore/mem/manually_drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/mem/manually_drop.rs b/src/libcore/mem/manually_drop.rs index bb353993236..34fc0618ea2 100644 --- a/src/libcore/mem/manually_drop.rs +++ b/src/libcore/mem/manually_drop.rs @@ -1,5 +1,5 @@ -use crate::ptr; use crate::ops::{Deref, DerefMut}; +use crate::ptr; /// A wrapper to inhibit compiler from automatically calling `T`’s destructor. /// |
