Skip to content

Commit

Permalink
reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Jan 9, 2024
1 parent 3b81dd3 commit a73b023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cairo1-run/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ enum FuncArg {
struct FuncArgs(Vec<FuncArg>);

fn process_args(value: &str) -> Result<FuncArgs, String> {
let mut args = Vec::new();
if value.is_empty() {
return Ok(FuncArgs::default());
}
let mut args = Vec::new();
let mut input = value.split(' ');
while let Some(value) = input.next() {
// First argument in an array
Expand Down

0 comments on commit a73b023

Please sign in to comment.