lib/rouge/lexers/rust.rb in rouge-2.0.6 vs lib/rouge/lexers/rust.rb in rouge-2.0.7

- old
+ new

@@ -84,10 +84,10 @@ mixin :has_literals rule %r([=-]>), Keyword rule %r(<->), Keyword rule /[()\[\]{}|,:;]/, Punctuation - rule /[*!@~&+%^<>=-]/, Operator + rule /[*!@~&+%^<>=-\?]/, Operator rule /([.]\s*)?#{id}(?=\s*[(])/m, Name::Function rule /[.]\s*#{id}/, Name::Property rule /(#{id})(::)/m do groups Name::Namespace, Punctuation