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:
Liu-Cheng Xu authored and GitHub committed 2021-11-16 15:12:50 +01:00
1 parent ec401ce1d0
commit 9b6db48a42
3 files changed
+1 -2

No files matched your search

-1
View File
@@ -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" }