mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Fix spaces in docs rendering for ->
in functions
This commit is contained in:
parent
9fe08cafd0
commit
b7ebb01f88
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue