lib/rouge/lexers/rust.rb in rouge-3.14.0 vs lib/rouge/lexers/rust.rb in rouge-3.15.0

- old
+ new

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