Something went wrong. Try again.
Lints and suggestions for the Nix programming language forked from oppi.li/statix
Something went wrong. Try again.
123456789101112131415pub mod main { use crate::err::StatixErr;
use lib::LINTS;
pub fn main() -> Result<(), StatixErr> { let mut lints = (*LINTS).clone(); lints.as_mut_slice().sort_by_key(|a| a.code()); for l in lints { println!("W{:02} {}", l.code(), l.name()); } Ok(()) }}