Skip to content

0.2.0

Compare
Choose a tag to compare
@dtolnay dtolnay released this 27 Sep 17:42
· 647 commits to master since this release
0.2.0
b11167d

This release changes the handling of primitive integer and floating point types to match the behavior of quasi.

let int: u64 = 100;
quote!(#int)

In 0.1 this would quote as "100". In 0.2 it quotes as "100u64". Similar for i8, i16, i32, i64, isize, u8, u16, u32, usize, f32, f64.