mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Treat two hash marks followed by text as a doc comment
This commit is contained in:
parent
4dca0546f4
commit
723c390f52
3 changed files with 3 additions and 15 deletions
|
@ -208,7 +208,7 @@ fn fmt_docs(buf: &mut Buf, docs: &str) {
|
|||
/// * Removing comments
|
||||
/// * Removing parens in Exprs
|
||||
///
|
||||
/// Long term, we actuall want this transform to preserve comments (so we can assert they're maintained by formatting)
|
||||
/// Long term, we actually want this transform to preserve comments (so we can assert they're maintained by formatting)
|
||||
/// - but there are currently several bugs where they're _not_ preserved.
|
||||
/// TODO: ensure formatting retains comments
|
||||
pub trait RemoveSpaces<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue