Skip to content

Commit 4d75976

Browse files
committed
fix clippy
1 parent 04076ba commit 4d75976

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/auth_flow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async fn main() -> anyhow::Result<()> {
2828

2929
println!("Go to this page: {}", url);
3030

31-
let input = rpassword::prompt_password_stdout(
31+
let input = rpassword::prompt_password(
3232
"Paste in the resulting adress after authenticating (input hidden): ",
3333
)?;
3434

src/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ impl<'a> Client<'a> for ReqwestClient {
5252
request: crate::HttpRequest,
5353
) -> BoxedFuture<'a, Result<crate::HttpResponse, Self::Error>> {
5454
// Reqwest plays really nice here and has a try_from on `http::Request` -> `reqwest::Request`
55-
use std::convert::TryFrom;
5655
let req = match reqwest::Request::try_from(request) {
5756
Ok(req) => req,
5857
Err(e) => return Box::pin(async { Err(e) }),

0 commit comments

Comments
 (0)