diff options
author | Haibo Huang <hhb@google.com> | 2021-02-24 09:45:33 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-24 09:45:33 +0000 |
commit | 839279b45646240b2dae0119f58d63c1a385e726 (patch) | |
tree | aa583765ea0c0fd8bddb46d99bb04eae1334edd3 /.rustfmt.toml | |
parent | 5d2e6582b1273c9656b2a32a5728dcac6bb72000 (diff) | |
parent | c1311073c0eab8a9f0566dbe0753f80865912a01 (diff) | |
download | pin-project-839279b45646240b2dae0119f58d63c1a385e726.tar.gz |
Upgrade rust/crates/pin-project to 1.0.5 am: c1311073c0
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1581962
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5f4104ee1de259e93389f9f90dd3a88be5f817b3
Diffstat (limited to '.rustfmt.toml')
-rw-r--r-- | .rustfmt.toml | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml deleted file mode 100644 index 6604f5c..0000000 --- a/.rustfmt.toml +++ /dev/null @@ -1,34 +0,0 @@ -# Rustfmt configuration -# https://github.com/rust-lang/rustfmt/blob/HEAD/Configurations.md - -# This is required for bug-fixes, which technically can't be made to the stable -# first version. -# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3383). -version = "Two" -# Rustfmt cannot format long lines inside macros, but this option detects this. -# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3391) -error_on_line_overflow = true - -# Override the default formatting style. -# See https://internals.rust-lang.org/t/running-rustfmt-on-rust-lang-rust-and-other-rust-lang-repositories/8732/81. -use_small_heuristics = "Max" -# See https://github.com/rust-dev-tools/fmt-rfcs/issues/149. -# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3370) -overflow_delimited_expr = true - -# Apply rustfmt to more places. -# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3362). -merge_imports = true -# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3348). -format_code_in_doc_comments = true - -# Automatically fix deprecated style. -use_field_init_shorthand = true -use_try_shorthand = true - -# Set the default settings again to always apply the proper formatting without -# being affected by the editor settings. -edition = "2018" -hard_tabs = false -newline_style = "Unix" -tab_spaces = 4 |