move to rust 2021, tweak macro (#428)

* cargo fix --edition

* move to rust 2021

* simplify macro now that patterns are supported natively

Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
Dan Shields
2021-11-15 07:52:16 -07:00
committed by GitHub
parent 6e2faa43be
commit 006cf76d3b
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
name = "common"
version = "0.1.0"
authors = ["Parity Technologies Ltd. <admin@parity.io>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0"
[dependencies]