diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-09-22 01:03:39 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-25 17:02:49 -0400 |
commit | 7fb28219375b52f3055e79d9d9b103a08dbb0790 (patch) | |
tree | ca7f84d6c65194596182cc7e14a5f2db49eb0561 /src | |
parent | a6f6d0b7126ae53347bf41ad8751bfdce400e271 (diff) |
format
Diffstat (limited to 'src')
-rw-r--r-- | src/flags.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/flags.rs b/src/flags.rs index ed60a0280..9828ef9cb 100644 --- a/src/flags.rs +++ b/src/flags.rs @@ -180,8 +180,7 @@ fn parse_core_args(args: Vec<String>) -> (Vec<String>, Vec<String>) { } true - }) - .collect(); + }).collect(); // Replace args being sent to V8 for idx in 0..args.len() { @@ -247,7 +246,6 @@ pub fn v8_set_flags(args: Vec<String>) -> Vec<String> { let cstr = CStr::from_ptr(*ptr as *const i8); let slice = cstr.to_str().unwrap(); slice.to_string() - }) - .chain(rest.into_iter()) + }).chain(rest.into_iter()) .collect() } |