Skip to content

Commit 5c94f4a

Browse files
authored
Rollup merge of #107913 - base0x10:master, r=compiler-errors
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`.
2 parents 73b022b + 20446bd commit 5c94f4a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/doc/style-guide/src/cargo.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ followed by the `description` at the end of that section.
1717
Don't use quotes around any standard key names; use bare keys. Only use quoted
1818
keys for non-standard keys whose names require them, and avoid introducing such
1919
key names when possible. See the [TOML
20-
specification](https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.4.0.md#table)
21-
for details.
20+
specification](https://toml.io/en/v1.0.0#keys) for details.
2221

2322
Put a single space both before and after the `=` between a key and value. Do
2423
not indent any key names; start all key names at the start of a line.

0 commit comments

Comments
 (0)