diff options
Diffstat (limited to 'lexers/LexRust.cxx')
-rw-r--r-- | lexers/LexRust.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexRust.cxx b/lexers/LexRust.cxx index ff5e816ba..686326347 100644 --- a/lexers/LexRust.cxx +++ b/lexers/LexRust.cxx @@ -128,7 +128,7 @@ public: delete this; } int SCI_METHOD Version() const override { - return lvOriginal; + return lvRelease4; } const char * SCI_METHOD PropertyNames() override { return osRust.PropertyNames(); @@ -149,7 +149,7 @@ public: void * SCI_METHOD PrivateCall(int, void *) override { return 0; } - static ILexer *LexerFactoryRust() { + static ILexer4 *LexerFactoryRust() { return new LexerRust(); } }; |