roc icon indicating copy to clipboard operation
roc copied to clipboard

Add spaces to doc comments

Open jschear opened this issue 1 year ago • 1 comments

This turned out to be more of a parsing issue -- ##foo was not being parsed as a doc comment. The formatting code already adds a space between ## and the comment content (see https://github.com/jschear/roc/blob/81be1441841f2005edd3e49eaa010e9085d53a7c/crates/compiler/fmt/src/spaces.rs#L190).

Closes #6582.

jschear avatar Mar 19 '24 22:03 jschear

Oops, missed some tests, will take a look.

jschear avatar Mar 21 '24 16:03 jschear