DieracDelta / flake_generator

Generate Nix Flakes imperatively.
MIT License
20 stars 2 forks source link

parser.rs: `NODE_STR` does not match what we want it to match #6

Closed fogti closed 3 years ago

fogti commented 3 years ago

https://github.com/DieracDelta/flake_generator/blob/9a5c85bcc83ad08e97afff5b9fef46349cddb75f/src/parser.rs#L66

warning: variable `NODE_STR` should have a snake case name
  --> src/parser.rs:66:9
   |
66 |         NODE_STR => unimplemented!(),
   |         ^^^^^^^^ help: convert the identifier to snake case: `node_str`
   |
   = note: `#[warn(non_snake_case)]` on by default