docs: Add missing `+` in diff code block

The closing bracket for the `if` statement is also nearly added but the leading `+` to indicate that was forgotten.
This commit is contained in:
GeckoEidechse 2024-01-30 17:43:37 +01:00 committed by GitHub
parent 51efaf2e81
commit 7ce3a41184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ like this:
+ if cfg.deny_odds && num_words % 2 == 1 { + if cfg.deny_odds && num_words % 2 == 1 {
+ eprintln!("{} has an odd number of words!", ch.name); + eprintln!("{} has an odd number of words!", ch.name);
+ process::exit(1); + process::exit(1);
} + }
} }
} }
} }