Skip to content

Commit 12b9e5a

Browse files
committed
review fix
1 parent 69aea52 commit 12b9e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/contributor/pages/code-style-guide.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Follow the https://doc.rust-lang.org/nightly/style-guide/cargo.html[official for
66
This means:
77

88
* Put the `[package]` section at the top of the file.
9-
* 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.
10-
* For other sections, sort keys with https://www.gnu.org/software/coreutils/manual/html_node/Version-sort-overview.html[version-sort] (basically the same as alphabetically).
9+
* 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 (sort keys with https://www.gnu.org/software/coreutils/manual/html_node/Version-sort-overview.html[version-sort]; very similar to lexical sorting)), followed by the description at the end of that section.
10+
* For other sections, sort keys with version-sort.
1111

1212
[TIP.code-rule,caption=Examples of correct code for this rule]
1313
====

0 commit comments

Comments
 (0)