From e7005b0b6baee7fbe1dba565e7784213d8775e70 Mon Sep 17 00:00:00 2001 From: Paul Woolcock Date: Mon, 27 Aug 2018 11:48:19 -0400 Subject: [PATCH] Users shouldn't have to parameterize their code unless they need to for tests --- src/registration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registration.rs b/src/registration.rs index 30f33b1..5a50cd3 100644 --- a/src/registration.rs +++ b/src/registration.rs @@ -13,7 +13,7 @@ const DEFAULT_REDIRECT_URI: &'static str = "urn:ietf:wg:oauth:2.0:oob"; /// Handles registering your mastodon app to your instance. It is recommended /// you cache your data struct to avoid registering on every run. -pub struct Registration<'a, H: HttpSend> { +pub struct Registration<'a, H: HttpSend = HttpSender> { base: String, client: Client, app_builder: AppBuilder<'a>,