We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ebd1f commit 1dfc340Copy full SHA for 1dfc340
examples/dump-syntax/src/main.rs
@@ -134,7 +134,10 @@ fn render_location(
134
label = start.line.to_string().blue().bold(),
135
code = code_line.trim_end(),
136
offset = " ".repeat(start.column),
137
- underline = "^".repeat(end.column.saturating_sub(start.column).max(1)).red().bold(),
+ underline = "^"
138
+ .repeat(end.column.saturating_sub(start.column).max(1))
139
+ .red()
140
+ .bold(),
141
message = err.to_string().red(),
142
)
143
}
0 commit comments