rustdoc-json-types Discriminant: fix typo

"when to complex" should obviously be "too complex"
This commit is contained in:
kraktus 2024-08-09 20:50:00 +02:00 committed by GitHub
parent 899eb03926
commit b735547025
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