From 892ca32e1edc5fa5331eee1152eca163cd59186b Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Tue, 21 Feb 2023 15:56:16 +0200 Subject: typo (#1617) --- src/doc/rustc-dev-guide/src/diagnostics/diagnostic-structs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/doc/rustc-dev-guide') diff --git a/src/doc/rustc-dev-guide/src/diagnostics/diagnostic-structs.md b/src/doc/rustc-dev-guide/src/diagnostics/diagnostic-structs.md index e26ba5f340e..58d3f938e7a 100644 --- a/src/doc/rustc-dev-guide/src/diagnostics/diagnostic-structs.md +++ b/src/doc/rustc-dev-guide/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. -- cgit 1.4.1-3-g733a5