Skip to content

Commit

Permalink
Update src/nix.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Yann Hamdaoui <[email protected]>
  • Loading branch information
francois-caddet and yannham committed Jan 23, 2023
1 parent c984221 commit 02aeff9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/nix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ impl ToNickel for rnix::ast::Expr {
match self {
Expr::Error(_) => {
Term::ParseError(crate::error::ParseError::NixParseError(file_id)).into()
// TODO:
// Improve
// error
// management
// TODO: Improve error management
}
Expr::Root(n) => n.expr().unwrap().translate(state),
Expr::Paren(n) => n.expr().unwrap().translate(state),
Expand Down

0 comments on commit 02aeff9

Please sign in to comment.