nix-community / rnix-parser

A Nix parser written in Rust [maintainer=@oberblastmeister]
MIT License
365 stars 44 forks source link

refactor: use matches macro #78

Closed kamadorueda closed 2 years ago

kamadorueda commented 2 years ago

Summary & Motivation

I was reading the code and found some simple improvements

kamadorueda commented 2 years ago

@Ma27 Would it be possible to merge this? It's a simple change that improves readability and has no functionallity impact