This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Rust's impl
are not highlighted quite correctly.
#7
Labels
impl
are not highlighted quite correctly.
#7
I noticed this earlier today, but my regex skills are not up to solving it on my own:
For the first
impl
, the type should be identified (as it is when followingstruct
). For the second, both type (MyObject) and trait (Clone) should be identified, and "for" should not be confused as the control structure keywordfor
.The text was updated successfully, but these errors were encountered: