Skip to content

Commit

Permalink
docs: Add missing + in diff code block
Browse files Browse the repository at this point in the history
The closing bracket for the `if` statement is also nearly added but the leading `+` to indicate that was forgotten.
  • Loading branch information
GeckoEidechse authored Jan 30, 2024
1 parent 51efaf2 commit 7ce3a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/for_developers/backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
+ }
}
}
}
Expand Down

0 comments on commit 7ce3a41

Please sign in to comment.