mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 03:21:04 +00:00
agent: set edition = "2018" in .rustfmt.toml to fix rustfmt about async fn
Got: find . -type f -name "*.rs" | egrep -v "target/|grpc-rs/|protocols/" | xargs rustfmt --check error[E0670]: `async fn` is not permitted in the 2015 edition This commit fixes this issue. Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
parent
df68771e77
commit
fe67f57c46
1
src/agent/.rustfmt.toml
Normal file
1
src/agent/.rustfmt.toml
Normal file
@ -0,0 +1 @@
|
||||
edition = "2018"
|
Loading…
Reference in New Issue
Block a user