]> git.proxmox.com Git - cargo.git/commit
Wordsmith the edition documentation a bit more
authorAlex Crichton <alex@alexcrichton.com>
Tue, 2 Mar 2021 22:05:06 +0000 (14:05 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 2 Mar 2021 22:09:34 +0000 (14:09 -0800)
commit849b0f32ca80b0e9018cca363da0665ddd479318
treef4142673b4beff22fe89efd60a483a23f104b696
parentc68432f1e5cbbc09833699a951b1b5b059651dff
Wordsmith the edition documentation a bit more

This hopes to clear up a few recent PRs about the `edition` key in the
manifest. It shuffles things around so the defaults are talked about in
two different paragraphs. The first one talks about how `cargo new` uses
the 2018 edition and is the only paragraph to use the word "default".
The second section talks about the usage of 2015 with no `edition` field
present.

This didn't end up being quite as clear as I hoped it might be, but I'm
hoping that this provides a bit more emphasis or otherwise just
restructures things a bit to be more clear.
src/doc/src/reference/manifest.md