Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust highlighting. #1454

Merged
merged 1 commit into from
Feb 18, 2017
Merged

Update Rust highlighting. #1454

merged 1 commit into from
Feb 18, 2017

Conversation

eddyb
Copy link
Contributor

@eddyb eddyb commented Feb 17, 2017

  • NUM_SUFFIX doesn't allow f(8|16|128|size) anymore
  • removed int, uint and float (they haven't been in Rust for a long time)
  • added u16 (it was just missing)
  • grouped together all builtin types, moved all types from keywords
    • e.g. i32, str, char etc. can be used as variable names, definitely not keywords
  • split "prelude" into "functions", "types" and "traits"
  • included union in the same keyword name ... { rule used for trait, enum and struct

@isagalaev isagalaev merged commit 0d52efa into highlightjs:master Feb 18, 2017
@isagalaev
Copy link
Member

Thanks for the excellent update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants