Skip to content

Commit

Permalink
removed unnecessary into
Browse files Browse the repository at this point in the history
  • Loading branch information
warfaj committed Oct 16, 2023
1 parent 45a09f9 commit 46e8208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pax-compiler/src/parsing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ fn recurse_pratt_parse_to_string<'a>(
Rule::literal_number => {
let mut inner = literal_kind.into_inner();
let value = inner.next().unwrap().as_str();
format!("Numeric::from({}).into()", value)
format!("Numeric::from({})", value)
},
Rule::string => {
//TODO: figure out string concatenation. Might need to introduce another operator? Or perhaps a higher-level string type, which supports addition-as-concatenation — like we do with Numeric
Expand Down

0 comments on commit 46e8208

Please sign in to comment.