From e7a9358bd0d3cb47c0e9ad5f424883f0c729b627 Mon Sep 17 00:00:00 2001 From: electria Date: Wed, 15 Jul 2026 23:17:45 -0700 Subject: [PATCH] refactor: consistency --- src/nodes/from_str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodes/from_str.rs b/src/nodes/from_str.rs index 17d1bf6..a589612 100644 --- a/src/nodes/from_str.rs +++ b/src/nodes/from_str.rs @@ -115,7 +115,7 @@ impl FromStr for Nodes { } ParsingState::ReadingNumber(start_index) => { nodes.push(Node::Number( - Float::parse_radix(&filtered_string[start_index..i], 10) + Float::parse(&filtered_string[start_index..i]) .map_err(|e| { Error::NumberParsing(filtered_string[start_index..i].to_owned(), e) })?