diff options
| author | base0x10 <jespy@josephespy.com> | 2023-02-10 23:58:25 +0000 |
|---|---|---|
| committer | base0x10 <jespy@josephespy.com> | 2023-02-10 23:58:25 +0000 |
| commit | 20446bd92bdd165ad23eef413b855a0be78285cc (patch) | |
| tree | e2966a036dcfe31099d11ac9a05119a86ab7d00b | |
| parent | 2773383a314a4b8f481ce2bed12c32de794ffbe9 (diff) | |
| download | rust-20446bd92bdd165ad23eef413b855a0be78285cc.tar.gz rust-20446bd92bdd165ad23eef413b855a0be78285cc.zip | |
Update broken link in cargo style guide
Toml now uses [toml.io](https://toml.io) for released specifications and the github repo for development. Also the old link was for the 0.4 specification, while cargo uses toml_edit, which uses toml 1.0 (reference: https://github.com/toml-rs/toml/blob/main/crates/toml_edit/CHANGELOG.md#030---2021-09-13). Finally the discussion of "Bare keys" vs "Quoted keys" has moved from the `#table` section to `#keys`.
| -rw-r--r-- | src/doc/style-guide/src/cargo.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc/style-guide/src/cargo.md b/src/doc/style-guide/src/cargo.md index f4993ba06a8..13b96ca8c5e 100644 --- a/src/doc/style-guide/src/cargo.md +++ b/src/doc/style-guide/src/cargo.md @@ -17,8 +17,7 @@ followed by the `description` at the end of that section. Don't use quotes around any standard key names; use bare keys. Only use quoted keys for non-standard keys whose names require them, and avoid introducing such key names when possible. See the [TOML -specification](https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.4.0.md#table) -for details. +specification](https://toml.io/en/v1.0.0#keys) for details. Put a single space both before and after the `=` between a key and value. Do not indent any key names; start all key names at the start of a line. |
