diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2023-06-22 13:28:47 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2023-06-22 14:02:52 -0700 |
| commit | c930b21bcdf9a47fd299e150f8056fe5f7bd7a08 (patch) | |
| tree | a4f9a2800b2efca7e692393eff7404a93cb29bfa /src/doc/style-guide | |
| parent | fec28b26b5b6252cdd153135d61f54de4f2d10fb (diff) | |
style-guide: Reword an awkwardly phrased recommendation (and fix a typo)
Diffstat (limited to 'src/doc/style-guide')
| -rw-r--r-- | src/doc/style-guide/src/items.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/style-guide/src/items.md b/src/doc/style-guide/src/items.md index f1f5344f3e2..79635e758f3 100644 --- a/src/doc/style-guide/src/items.md +++ b/src/doc/style-guide/src/items.md @@ -15,8 +15,8 @@ Tools should make the above ordering optional. ### Function definitions -In Rust, one finds functions by searching for `fn [function-name]`; It's -important that you style your code so that it's very searchable in this way. +In Rust, people often find functions by searching for `fn [function-name]`, so +the formatting of function definitions shold enable this. The proper ordering and spacing is: |
