mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
parent
b3ef934ccb
commit
25242fe93f
395 changed files with 14569 additions and 5755 deletions
|
@ -52,7 +52,7 @@ pub(crate) fn highlight_as_html(db: &RootDatabase, file_id: FileId, rainbow: boo
|
|||
let class = r.highlight.to_string().replace('.', " ");
|
||||
let color = match (rainbow, r.binding_hash) {
|
||||
(true, Some(hash)) => {
|
||||
format!(" data-binding-hash=\"{}\" style=\"color: {};\"", hash, rainbowify(hash))
|
||||
format!(" data-binding-hash=\"{hash}\" style=\"color: {};\"", rainbowify(hash))
|
||||
}
|
||||
_ => "".into(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue