From 46e82080ac0da91efa12f33f044984adf425765a Mon Sep 17 00:00:00 2001 From: Warfa Jibril Date: Mon, 16 Oct 2023 16:40:29 -0700 Subject: [PATCH] removed unnecessary into --- pax-compiler/src/parsing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pax-compiler/src/parsing.rs b/pax-compiler/src/parsing.rs index 83050f41f..f1a9657e5 100644 --- a/pax-compiler/src/parsing.rs +++ b/pax-compiler/src/parsing.rs @@ -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