diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-15 20:50:34 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-15 20:50:34 +0100 |
commit | dcea1c536c351a6063ba887813d54911a2b7eb39 (patch) | |
tree | 87d55a0ef8df2c6263722ea3899c4e45c11173db /crates/ide/src/syntax_highlighting/html.rs | |
parent | 7f482afada7519e828b8dbe8fafe063885256516 (diff) | |
parent | 29054e02fbc7a858d9d4a6efd61583ac45b3213b (diff) |
Merge #9295
9295: fix: Highlight unsafe trait refs as unsafe only in impl blocks and definitions r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide/src/syntax_highlighting/html.rs')
-rw-r--r-- | crates/ide/src/syntax_highlighting/html.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/html.rs b/crates/ide/src/syntax_highlighting/html.rs index 478facfee..21376a7ae 100644 --- a/crates/ide/src/syntax_highlighting/html.rs +++ b/crates/ide/src/syntax_highlighting/html.rs | |||
@@ -67,6 +67,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd | |||
67 | .field { color: #94BFF3; } | 67 | .field { color: #94BFF3; } |
68 | .function { color: #93E0E3; } | 68 | .function { color: #93E0E3; } |
69 | .function.unsafe { color: #BC8383; } | 69 | .function.unsafe { color: #BC8383; } |
70 | .trait.unsafe { color: #BC8383; } | ||
70 | .operator.unsafe { color: #BC8383; } | 71 | .operator.unsafe { color: #BC8383; } |
71 | .parameter { color: #94BFF3; } | 72 | .parameter { color: #94BFF3; } |
72 | .text { color: #DCDCCC; } | 73 | .text { color: #DCDCCC; } |