mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Clippy
This commit is contained in:
parent
e296d35bcd
commit
d660016b53
4 changed files with 8 additions and 9 deletions
|
@ -102,12 +102,11 @@ fn format_sourced_doc<'d>(f: &'d Arena<'d>, line: usize, source: &str, doc: Doc<
|
|||
|
||||
fn format_header<'d>(f: &'d Arena<'d>, title: &str) -> Doc<'d> {
|
||||
let title_width = title.len() + 4;
|
||||
let header = f.text(format!(
|
||||
f.text(format!(
|
||||
"── {} {}",
|
||||
title,
|
||||
"─".repeat(HEADER_WIDTH - title_width)
|
||||
));
|
||||
header
|
||||
))
|
||||
}
|
||||
|
||||
fn format_kind<'a, 'd, I>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue