lib/rouge/lexers/rust.rb in rouge-3.25.0 vs lib/rouge/lexers/rust.rb in rouge-3.26.0
- old
+ new
@@ -177,9 +177,10 @@
)x, Num::Float
rule %r(
( 0b[10_]+
| 0x[0-9a-fA-F_]+
+ | 0o[0-7]+
| [0-9_]+
) (u#{size}?|i#{size})?
)x, Num::Integer
end