...

Text file src/github.com/alecthomas/chroma/v2/lexers/testdata/rust/proc_macros.actual

Documentation: github.com/alecthomas/chroma/v2/lexers/testdata/rust

     1use smallvec::{smallvec, SmallVec};
     2
     3lazy_static::lazy_static! {
     4    static ref ONE: usize = 1;
     5}
     6
     7fn main() {
     8    pretty_assertions::assert_eq!(*ONE, *ONE);
     9    let _: SmallVec<[_; 16]> = smallvec![1, 2, 3];
    10
    11    // And some builtin ones
    12    println!("Hello, world!");
    13    panic!();
    14}

View as plain text