Skip to content

Commit

Permalink
style-guide: Reword an awkwardly phrased recommendation (and fix a typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtriplett committed Jun 22, 2023
1 parent fec28b2 commit c930b21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/style-guide/src/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit c930b21

Please sign in to comment.