mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 12:37:57 +00:00
Specify edition 2021 in .rustfmt.yml (#760)
This PR is mainly to fix the error `[E0670]: async fn is not permitted in the 2015 edition` when using Vim along with rust-analyzer, it also removes an unused dependency from parachain-template. Ref: https://github.com/rust-analyzer/rust-analyzer/issues/1959
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# Basic
|
||||
edition = "2021"
|
||||
hard_tabs = true
|
||||
max_width = 100
|
||||
use_small_heuristics = "Max"
|
||||
|
||||
Generated
-1
@@ -6054,7 +6054,6 @@ dependencies = [
|
||||
"polkadot-parachain",
|
||||
"polkadot-primitives",
|
||||
"polkadot-service",
|
||||
"polkadot-test-service",
|
||||
"sc-basic-authorship",
|
||||
"sc-chain-spec",
|
||||
"sc-cli",
|
||||
|
||||
@@ -92,4 +92,3 @@ polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "maste
|
||||
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||
polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "master" }
|
||||
|
||||
Reference in New Issue
Block a user