about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-08-10 16:23:52 +0200
committerGitHub <noreply@github.com>2024-08-10 16:23:52 +0200
commit6d3f764332c54ec87e65f10688be261fb084fd86 (patch)
treee55ca6e409d720378240bf2d6079d12ec2991264
parenta7e188a8f65c16ba13c40b5c74152fc7d360c23c (diff)
parentb735547025dad853829a7dbf6b6697090e3f657c (diff)
downloadrust-6d3f764332c54ec87e65f10688be261fb084fd86.tar.gz
rust-6d3f764332c54ec87e65f10688be261fb084fd86.zip
Rollup merge of #128903 - kraktus:patch-3, r=aDotInTheVoid
rustdoc-json-types `Discriminant`: fix typo

"when to complex" should obviously be "too complex"
-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