about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-06-22 11:53:49 -0700
committerJosh Triplett <josh@joshtriplett.org>2023-06-22 11:53:49 -0700
commit9637d4401481a715e4451db8a6d3744b674eea7e (patch)
treebaea973abf06887a9e254a878bbb50e7fa1eb99f
parent2efe09170530fa18e42ff05b8d9dd23f00b5c430 (diff)
downloadrust-9637d4401481a715e4451db8a6d3744b674eea7e.tar.gz
rust-9637d4401481a715e4451db8a6d3744b674eea7e.zip
style-guide: Fix typo
"does done fit" should have been "does not fit".
-rw-r--r--src/doc/style-guide/src/expressions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/style-guide/src/expressions.md b/src/doc/style-guide/src/expressions.md
index 96f66c89c25..8271b42da4c 100644
--- a/src/doc/style-guide/src/expressions.md
+++ b/src/doc/style-guide/src/expressions.md
@@ -690,7 +690,7 @@ Where it is possible to use a block form on the right-hand side and avoid
 breaking the left-hand side, do that. E.g.
 
 ```rust
-    // Assuming the following line does done fit in the max width
+    // Assuming the following line does not fit in the max width
     a_very_long_pattern | another_pattern => ALongStructName {
         ...
     },