From 36f61df18c52011a39d9393ee14cd9e532eb54a3 Mon Sep 17 00:00:00 2001 From: Barrett Date: Tue, 8 Oct 2024 17:05:10 -0500 Subject: [PATCH] diagnostics: lists should use the Oxford comma we encountered this in https://github.com/rust-lang/rust/pull/131038 kinda felt like an unspoken rule so here's a more concrete clarification. --- src/diagnostics.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/diagnostics.md b/src/diagnostics.md index 5b6d1323f..ddcaa8f33 100644 --- a/src/diagnostics.md +++ b/src/diagnostics.md @@ -156,6 +156,8 @@ use an error-level lint instead of a fixed error. compiler messages are an important learning tool. - When talking about the compiler, call it `the compiler`, not `Rust` or `rustc`. +- Use the [Oxford comma](https://en.wikipedia.org/wiki/Serial_comma) when + writing lists of items. ### Lint naming