rust-lang-nursery / lazy-static.rs

A small macro for defining lazy evaluated static variables in Rust.
Apache License 2.0
1.9k stars 108 forks source link

test: VAR; remove unused braces #179

Closed Horki closed 3 years ago

Horki commented 3 years ago

@Kimundi small fix removed unused braces

warning: unnecessary braces around block return value
   --> tests/test.rs:108:31
    |
108 |     pub static ref VAR: i32 = { 0 };
    |                               ^^^^^ help: remove these braces
    |
    = note: `#[warn(unused_braces)]` on by default
KodrAus commented 3 years ago

Thanks @Horki! Sorry for letting this sit so long 😅