Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment in function declaration adds extra spaces #565

Open
rikkimax opened this issue Sep 7, 2022 · 0 comments
Open

Comment in function declaration adds extra spaces #565

rikkimax opened this issue Sep 7, 2022 · 0 comments

Comments

@rikkimax
Copy link
Contributor

rikkimax commented Sep 7, 2022

int foreachContiguous(scope int delegate(scope ref /* ignore this */ Char[] data) @safe @nogc nothrow del) @trusted @nogc nothrow {}

There are two spaces before the comment /* ignore this */ there only needs to be the one.

.editorconfig:

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 140
tab_width = 4
dfmt_brace_style = otbs
dfmt_soft_max_line_length = 120
dfmt_brace_style = otbs
dfmt_soft_max_line_length = 120
dfmt_space_after_cast = false
dfmt_space_after_keywords = false
dfmt_split_operator_at_line_end = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant