From dc3a8135adb63f36cf965143d3bfa48b810da786 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Wed, 17 Jan 2024 12:52:04 -0800 Subject: [PATCH] style-guide: Tweak `Cargo.toml` formatting to not put `description` last Based on feedback from the Cargo team. --- src/doc/style-guide/src/cargo.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/style-guide/src/cargo.md b/src/doc/style-guide/src/cargo.md index d47d04642280f..5e14f61beabac 100644 --- a/src/doc/style-guide/src/cargo.md +++ b/src/doc/style-guide/src/cargo.md @@ -11,8 +11,7 @@ key-value pairs in that section, or between key-value pairs in a section. Version-sort key names within each section, with the exception of the `[package]` section. Put the `[package]` section at the top of the file; put the `name` and `version` keys in that order at the top of that section, -followed by the remaining keys other than `description` in order, followed by -the `description` at the end of that section. +followed by the remaining keys in order. 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