[Rust] constant variables as typeSee original GitHub issue
I have some consts defined, and they are coloured as type
error:INTERNAL_ERROR is like a type
INTERNAL_ERROR is defined here: https://github.com/ghost-in-the-sushi/efficio-server/blob/997e203c53fc7868a84e4066aa8959bd9386c23c/src/error.rs#L13
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
I’m sorry, I’ve closed this issue by accident. I didn’t know that GitHub does this automatically when you put something like
fixes #17 in commit message (=.
Highlighting of consts now looks like this:
While not breaking highlighting of enums:
This fix will be included in the next version.
I haven’t take the time to test it yet ^^ I’ll keep you posted 😃