diff options
Diffstat (limited to 'src/helpers/cli.rs')
-rw-r--r-- | src/helpers/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/cli.rs b/src/helpers/cli.rs index 25c1e03..c08dcba 100644 --- a/src/helpers/cli.rs +++ b/src/helpers/cli.rs @@ -1,10 +1,10 @@ use std::io::{self, BufRead, Write}; -use crate::{errors::Result, http_send::HttpSend, registration::Registered, Mastodon}; +use crate::{errors::Result, registration::Registered, Mastodon}; /// Finishes the authentication process for the given `Registered` object, /// using the command-line -pub fn authenticate<H: HttpSend>(registration: Registered<H>) -> Result<Mastodon<H>> { +pub fn authenticate(registration: Registered) -> Result<Mastodon> { let url = registration.authorize_url()?; let stdout = io::stdout(); |