about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorkraktus <56031107+kraktus@users.noreply.github.com>2024-08-09 20:50:00 +0200
committerGitHub <noreply@github.com>2024-08-09 20:50:00 +0200
commitb735547025dad853829a7dbf6b6697090e3f657c (patch)
tree7559288993832631dc44d1afcf4371333338b5e0 /src
parent899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 (diff)
rustdoc-json-types `Discriminant`: fix typo
"when to complex" should obviously be "too complex"
Diffstat (limited to 'src')
-rw-r--r--src/rustdoc-json-types/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustdoc-json-types/lib.rs b/src/rustdoc-json-types/lib.rs
index a93ac6ccaf1..999134a4090 100644
--- a/src/rustdoc-json-types/lib.rs
+++ b/src/rustdoc-json-types/lib.rs
@@ -634,7 +634,7 @@ pub struct Discriminant {
     /// hexadecimal, and underscores), making it unsuitable to be machine
     /// interpreted.
     ///
-    /// In some cases, when the value is to complex, this may be `"{ _ }"`.
+    /// In some cases, when the value is too complex, this may be `"{ _ }"`.
     /// When this occurs is unstable, and may change without notice.
     pub expr: String,
     /// The numerical value of the discriminant. Stored as a string due to