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 ShieldsandJames Wilson authored and GitHub committed 2021-11-15 14:52:16 +00:00
1 parent 6e2faa43be
commit 006cf76d3b
5 files changed
+9 -9

No files matched your search

+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]