Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b189350

Browse files
committed
README: remove old requirement for Rust 2018 edition use
From now on, the `Cargo.toml` is taken into account when triggering formatting using `cargo fmt`. It is considered editor's duty to pass the proper `--edition` argument for `rustfmt` if it is being called manually. Refs: rust-lang#3104. Refs: rust-lang#3129. Signed-off-by: Otavio Salvador <[email protected]>
1 parent 6739dbe commit b189350

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ To run:
3636
cargo +nightly fmt
3737
```
3838

39-
To format code that requires edition 2018, create a `rustfmt.toml` [configuration](#configuring-rustfmt) file containing:
40-
41-
```toml
42-
edition = "2018"
43-
```
44-
4539
## Limitations
4640

4741
Rustfmt tries to work on as much Rust code as possible, sometimes, the code

0 commit comments

Comments
 (0)