From c7256e75c0362c0c5c66cd6997400b45093a7de7 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Tue, 21 Feb 2023 15:56:16 +0200 Subject: [PATCH] typo (#1617) --- src/diagnostics/diagnostic-structs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagnostics/diagnostic-structs.md b/src/diagnostics/diagnostic-structs.md index e26ba5f3..58d3f938 100644 --- a/src/diagnostics/diagnostic-structs.md +++ b/src/diagnostics/diagnostic-structs.md @@ -82,7 +82,7 @@ these attributes can also take a value that is the attribute name to look for Other types have special behavior when used in a `Diagnostic` derive: -- Any attribute applied to an `Option` and will only emit a +- Any attribute applied to an `Option` will only emit a subdiagnostic if the option is `Some(..)`. - Any attribute applied to a `Vec` will be repeated for each element of the vector.