about summary refs log tree commit diff
path: root/src/doc/style-guide
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-06-22 13:28:47 -0700
committerJosh Triplett <josh@joshtriplett.org>2023-06-22 14:02:52 -0700
commitc930b21bcdf9a47fd299e150f8056fe5f7bd7a08 (patch)
treea4f9a2800b2efca7e692393eff7404a93cb29bfa /src/doc/style-guide
parentfec28b26b5b6252cdd153135d61f54de4f2d10fb (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.md4
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: