rustfmt.toml: ensure compliance with edition "2018"

* using rustc >= v1.31.0 enables the edition the edition system
* parse the rust code to be complient with edition "2018"

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-06-19 16:46:01 +02:00
parent 10674170d6
commit 4e97327c02

5
rustfmt.toml Normal file
View File

@@ -0,0 +1,5 @@
error_on_line_overflow = true
error_on_unformatted = true
#version = "Two"
hard_tabs = false
edition = "2018"