improve wording

This commit is contained in:
Anton-4 2024-01-28 18:33:12 +01:00
parent 30a5a2cfac
commit 6338e54205
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937

View file

@ -155,7 +155,7 @@ fn fmt_comment(buf: &mut Buf, comment: &str) {
buf.push('#');
// Add a space between the starting `#` and the rest of the comment,
// unless there already is one or the comment is of the form `#### something`.
// unless there already is a space or the comment is of the form `#### something`.
if !comment.starts_with(' ') && !comment.starts_with('#') {
buf.spaces(1);
}