Open GraemeWilde opened 6 years ago
Nice work, thanks!
Would this also apply to enum
declarations? As far as I know, they can have where statements as well?
It was for fixing where on tuple struct specifically. I think the where clause works on enums already, and I don't believe there is a tuple enum. I haven't been using rust for a bit however, so I can't be sure.
Add dedicated struct declaration that fixes
where
clause at the end of tuple structs. Also adds type highlighting towhere
on normal structs to matchwhere
onimpl
.131
Edit:
And by this I mean it highlights the types after a struct's where.