remove warnings (#3137)

This commit is contained in:
Darren Schroeder
2021-03-06 14:31:22 -06:00
committed by GitHub
parent 06d9d9ed08
commit 15e1e6376b
11 changed files with 13 additions and 12 deletions

View File

@ -25,7 +25,7 @@ impl WholeStreamCommand for SubCommand {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
operate((args), &to_camel_case).await
operate(args, &to_camel_case).await
}
fn examples(&self) -> Vec<Example> {

View File

@ -25,7 +25,7 @@ impl WholeStreamCommand for SubCommand {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
operate((args), &to_kebab_case).await
operate(args, &to_kebab_case).await
}
fn examples(&self) -> Vec<Example> {

View File

@ -25,7 +25,7 @@ impl WholeStreamCommand for SubCommand {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
operate((args), &to_pascal_case).await
operate(args, &to_pascal_case).await
}
fn examples(&self) -> Vec<Example> {

View File

@ -25,7 +25,7 @@ impl WholeStreamCommand for SubCommand {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
operate((args), &to_screaming_snake_case).await
operate(args, &to_screaming_snake_case).await
}
fn examples(&self) -> Vec<Example> {

View File

@ -25,7 +25,7 @@ impl WholeStreamCommand for SubCommand {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
operate((args), &to_snake_case).await
operate(args, &to_snake_case).await
}
fn examples(&self) -> Vec<Example> {

View File

@ -31,7 +31,7 @@ impl WholeStreamCommand for SubCommand {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
operate((args), &trim).await
operate(args, &trim).await
}
fn examples(&self) -> Vec<Example> {

View File

@ -31,7 +31,7 @@ impl WholeStreamCommand for SubCommand {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
operate((args), &trim_left).await
operate(args, &trim_left).await
}
fn examples(&self) -> Vec<Example> {

View File

@ -31,7 +31,7 @@ impl WholeStreamCommand for SubCommand {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
operate((args), &trim_right).await
operate(args, &trim_right).await
}
fn examples(&self) -> Vec<Example> {

View File

@ -40,7 +40,7 @@ impl WholeStreamCommand for Command {
}
async fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError> {
table(TableConfiguration::new(), (args)).await
table(TableConfiguration::new(), args).await
}
}