chore: fix clippy
parent
3d80b2e13c
commit
a38261cc6e
|
@ -49,7 +49,7 @@ enum Commands {
|
|||
/// Perform a query against an UpEnd server instance.
|
||||
Query {
|
||||
/// URL of the UpEnd instance to query.
|
||||
#[arg(short, long, default_value="http://localhost:8093")]
|
||||
#[arg(short, long, default_value = "http://localhost:8093")]
|
||||
url: Url,
|
||||
/// The query itself, in L-expression format.
|
||||
query: String,
|
||||
|
@ -186,7 +186,7 @@ fn main() -> Result<()> {
|
|||
},
|
||||
Err(err) => {
|
||||
error!("{}", response.text()?);
|
||||
return Err(err.into());
|
||||
Err(err.into())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -221,7 +221,7 @@ fn main() -> Result<()> {
|
|||
}
|
||||
Err(err) => {
|
||||
error!("{}", response.text()?);
|
||||
return Err(err.into());
|
||||
Err(err.into())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue