diff --git a/modules/lang/rust/README.org b/modules/lang/rust/README.org index 1cd35eb98..18a95d6fe 100644 --- a/modules/lang/rust/README.org +++ b/modules/lang/rust/README.org @@ -118,8 +118,8 @@ eglot instead. ** error[E0670]: `async fn` is not permitted in the 2015 edition You may be seeing this error, despite having ~edition = "2018"~ in your =Cargo.toml=. This error actually originates from ~rustfmt~, which the LSP -server tries to invoke on save (if you have ~rustic-format-on-save~ or -[[doom-module:][:editor format]] enabled). +server tries to invoke on save (if you have ~rustic-format-trigger~ or [[doom-module:][:editor +format]] enabled). To fix this your project needs a =rustfmt.toml= with ~edition = "2018"~ in it.