From 675b89de706f1aebf9a9a0a32fac74ef3f899a32 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Thu, 16 Apr 2026 11:23:04 +0200 Subject: [PATCH] follow formatting style guideline https://doc.rust-lang.org/style-guide/#trailing-commas --- src/attributes/type_system.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/attributes/type_system.md b/src/attributes/type_system.md index 953353c448..032d8ba9d1 100644 --- a/src/attributes/type_system.md +++ b/src/attributes/type_system.md @@ -176,7 +176,7 @@ For example, the following enum can be cast because it doesn't contain any non-e #[non_exhaustive] pub enum Example { First, - Second + Second, } ``` @@ -187,7 +187,7 @@ However, if the enum contains even a single non-exhaustive variant, casting will pub enum EnumWithNonExhaustiveVariants { First, #[non_exhaustive] - Second + Second, } ```