From 7ce3a41184c2a899285cb9993837522332e44fdf Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:43:37 +0100 Subject: [PATCH] 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. --- guide/src/for_developers/backends.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/for_developers/backends.md b/guide/src/for_developers/backends.md index 78326a36..72f8263e 100644 --- a/guide/src/for_developers/backends.md +++ b/guide/src/for_developers/backends.md @@ -287,7 +287,7 @@ like this: + if cfg.deny_odds && num_words % 2 == 1 { + eprintln!("{} has an odd number of words!", ch.name); + process::exit(1); - } ++ } } } }