From 89da2979a5d05ec50f4a221a2faa0dcbbd26fa73 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