lib/rouge/lexers/rust.rb in rouge-1.9.1 vs lib/rouge/lexers/rust.rb in rouge-1.10.0
- old
+ new
@@ -5,11 +5,10 @@
class Rust < RegexLexer
title "Rust"
desc 'The Rust programming language (rust-lang.org)'
tag 'rust'
aliases 'rs'
- # TODO: *.rc conflicts with the rc shell...
- filenames '*.rs', '*.rc'
+ filenames '*.rs'
mimetypes 'text/x-rust'
def self.analyze_text(text)
return 1 if text.shebang? 'rustc'
end