mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 07:17:50 +03:00
Fix spaces in docs rendering for ->
in functions
This commit is contained in:
parent
9fe08cafd0
commit
b7ebb01f88
@ -651,9 +651,11 @@ fn type_annotation_to_html(
|
||||
if is_multiline {
|
||||
new_line(buf);
|
||||
indent(buf, indent_level + 1);
|
||||
} else {
|
||||
buf.push(' ');
|
||||
}
|
||||
|
||||
buf.push_str(" -> ");
|
||||
buf.push_str("-> ");
|
||||
|
||||
let mut next_indent_level = indent_level;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user