Rollup merge of #128903 - kraktus:patch-3, r=aDotInTheVoid

rustdoc-json-types `Discriminant`: fix typo

"when to complex" should obviously be "too complex"
This commit is contained in:
Guillaume Gomez 2024-08-10 16:23:52 +02:00 committed by GitHub
commit 6d3f764332
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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