Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
EclecticGriffin committed Dec 16, 2024
1 parent d1ffe73 commit 64c33ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions calyx-frontend/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ impl CalyxParser {

// Parse the input
let inputs =
CalyxParser::parse_with_userdata(Rule::file, &content, user_data)
CalyxParser::parse_with_userdata(Rule::file, content, user_data)
.map_err(|e| {
calyx_utils::Error::parse_error(e.variant.message())
.with_pos(&Self::error_span(&e, file))
})?;
calyx_utils::Error::parse_error(e.variant.message())
.with_pos(&Self::error_span(&e, file))
})?;
let input = inputs.single().map_err(|e| {
calyx_utils::Error::parse_error(e.variant.message())
.with_pos(&Self::error_span(&e, file))
Expand Down

0 comments on commit 64c33ba

Please sign in to comment.