Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
Add continue to keywords in Rust lexer (rouge-ruby#1617)
Browse files Browse the repository at this point in the history
The `continue` keyword is missing from the list of keywords. This
commit adds it.
  • Loading branch information
matklad authored and mattt committed May 19, 2021
1 parent cbdb3a1 commit 7e93843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rouge/lexers/rust.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def self.detect?(text)

def self.keywords
@keywords ||= %w(
as assert async await break const copy do drop else enum extern fail false
fn for if impl let log loop match mod move mut priv pub pure
as assert async await break const continue copy do drop else enum extern
fail false fn for if impl let log loop match mod move mut priv pub pure
ref return self static struct true trait type unsafe use where
while box
)
Expand Down

0 comments on commit 7e93843

Please sign in to comment.