Users shouldn't have to parameterize their code unless they need to for tests

master
Paul Woolcock 6 years ago
parent f8f8054c5c
commit e7005b0b6b
  1. 2
      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 /// Handles registering your mastodon app to your instance. It is recommended
/// you cache your data struct to avoid registering on every run. /// 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, base: String,
client: Client, client: Client,
app_builder: AppBuilder<'a>, app_builder: AppBuilder<'a>,

Loading…
Cancel
Save