Skip to content

Commit 00e0f4d

Browse files
Re-sync with internal repository (facebook#9578)
The internal and external repositories are out of sync. This Pull Request attempts to brings them back in sync by patching the GitHub repository. Please carefully review this patch. You must disable ShipIt for your project in order to merge this pull request. DO NOT IMPORT this pull request. Instead, merge it directly on GitHub using the MERGE BUTTON. Re-enable ShipIt after merging.
1 parent 9e251bb commit 00e0f4d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

clippy.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
too-many-lines-threshold = 200
2+
await-holding-invalid-types = [
3+
{ path = "tracing::span::Entered", reason = "`Entered` is not aware when a function is suspended: https://docs.rs/tracing/latest/tracing/struct.Span.html#in-asynchronous-code" },
4+
{ path = "tracing::span::EnteredSpan", reason = "`EnteredSpan` is not aware when a function is suspended: https://docs.rs/tracing/latest/tracing/struct.Span.html#in-asynchronous-code" },
5+
]

rustfmt.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Get help on options with `rustfmt --help=config`
2+
# Please keep these in alphabetical order.
3+
edition = "2021"
4+
format_code_in_doc_comments = true
5+
group_imports = "StdExternalCrate"
6+
imports_granularity = "Item"
7+
merge_derives = false
8+
use_field_init_shorthand = true
9+
version = "Two"

0 commit comments

Comments
 (0)