Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #143 from darrenldl/dev
Browse files Browse the repository at this point in the history
Code refactoring
  • Loading branch information
darrenldl committed Apr 5, 2019
2 parents c51a42d + b7f0199 commit f652fd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli_encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub fn encode<'a>(matches: &ArgMatches<'a>) -> i32 {
}
}

let (version, data_par_burst) = get_ver_data_par_burst_w_defaults!(matches, json_printer);
let (version, data_par_burst) = get_ver_and_data_par_burst_w_defaults!(matches, json_printer);

let in_file = get_in_file!(accept_stdin matches, json_printer);
let out = match matches.value_of("out") {
Expand Down
2 changes: 1 addition & 1 deletion src/cli_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ macro_rules! get_parity_shards {
}}
}

macro_rules! get_ver_data_par_burst_w_defaults {
macro_rules! get_ver_and_data_par_burst_w_defaults {
(
$matches:expr, $json_printer:expr
) => {{
Expand Down

0 comments on commit f652fd5

Please sign in to comment.