diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2023-02-21 15:56:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-21 22:56:16 +0900 |
| commit | 892ca32e1edc5fa5331eee1152eca163cd59186b (patch) | |
| tree | 6e91f6f07a62f7d2545c88a77b53b22dd86ae925 /src/doc/rustc-dev-guide | |
| parent | 0b402ec90babce982ba945cd4b157b11c907bfef (diff) | |
| download | rust-892ca32e1edc5fa5331eee1152eca163cd59186b.tar.gz rust-892ca32e1edc5fa5331eee1152eca163cd59186b.zip | |
typo (#1617)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/diagnostics/diagnostic-structs.md | 2 |
1 files changed, 1 insertions, 1 deletions
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<T>` and will only emit a +- Any attribute applied to an `Option<T>` will only emit a subdiagnostic if the option is `Some(..)`. - Any attribute applied to a `Vec<T>` will be repeated for each element of the vector. |
