Skip to content

Commit 36f61df

Browse files
onkoetshepang
authored andcommitted
diagnostics: lists should use the Oxford comma
we encountered this in rust-lang/rust#131038 kinda felt like an unspoken rule so here's a more concrete clarification.
1 parent 6a5accd commit 36f61df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/diagnostics.md

+2
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ use an error-level lint instead of a fixed error.
156156
compiler messages are an important learning tool.
157157
- When talking about the compiler, call it `the compiler`, not `Rust` or
158158
`rustc`.
159+
- Use the [Oxford comma](https://en.wikipedia.org/wiki/Serial_comma) when
160+
writing lists of items.
159161

160162
### Lint naming
161163

0 commit comments

Comments
 (0)