File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ async fn main() -> anyhow::Result<()> {
28
28
29
29
println ! ( "Go to this page: {}" , url) ;
30
30
31
- let input = rpassword:: prompt_password_stdout (
31
+ let input = rpassword:: prompt_password (
32
32
"Paste in the resulting adress after authenticating (input hidden): " ,
33
33
) ?;
34
34
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ impl<'a> Client<'a> for ReqwestClient {
52
52
request : crate :: HttpRequest ,
53
53
) -> BoxedFuture < ' a , Result < crate :: HttpResponse , Self :: Error > > {
54
54
// Reqwest plays really nice here and has a try_from on `http::Request` -> `reqwest::Request`
55
- use std:: convert:: TryFrom ;
56
55
let req = match reqwest:: Request :: try_from ( request) {
57
56
Ok ( req) => req,
58
57
Err ( e) => return Box :: pin ( async { Err ( e) } ) ,
You can’t perform that action at this time.
0 commit comments