Fix Rust keyword inconsistency (#6794)

* Make Rust keyword escaping more consistent

* fix comment

* git clang format

Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
Casper
2021-08-18 15:37:44 -04:00
committed by GitHub
parent 4a0879458d
commit 273f6084e5
13 changed files with 675 additions and 18 deletions

View File

@@ -6,9 +6,10 @@ enum public: int { }
table KeywordsInTable {
is: ABC = void;
private: public;
type: int;
}
union KeywordsInUnion {
static: KeywordsInTable,
internal: string
internal: KeywordsInTable,
}