Update examples for Client reexport

This commit is contained in:
Curtis McEnroe 2015-12-25 20:23:48 -05:00
parent 6a07e0f9d5
commit c0da5aa016
4 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ extern crate inth_oauth2;
use std::io; use std::io;
use inth_oauth2::client::Client; use inth_oauth2::Client;
use inth_oauth2::provider::GitHub; use inth_oauth2::provider::GitHub;
fn main() { fn main() {

View File

@ -2,7 +2,7 @@ extern crate inth_oauth2;
use std::io; use std::io;
use inth_oauth2::client::Client; use inth_oauth2::Client;
use inth_oauth2::provider::Google; use inth_oauth2::provider::Google;
fn main() { fn main() {

View File

@ -2,7 +2,7 @@ extern crate inth_oauth2;
use std::io; use std::io;
use inth_oauth2::client::Client; use inth_oauth2::Client;
use inth_oauth2::provider::Imgur; use inth_oauth2::provider::Imgur;
fn main() { fn main() {

View File

@ -42,7 +42,7 @@ impl<P: Provider> Client<P> {
/// # Examples /// # Examples
/// ///
/// ``` /// ```
/// use inth_oauth2::client::Client; /// use inth_oauth2::Client;
/// use inth_oauth2::provider::Google; /// use inth_oauth2::provider::Google;
/// ///
/// let client = Client::<Google>::new( /// let client = Client::<Google>::new(
@ -74,7 +74,7 @@ impl<P: Provider> Client<P> {
/// # Examples /// # Examples
/// ///
/// ``` /// ```
/// use inth_oauth2::client::Client; /// use inth_oauth2::Client;
/// use inth_oauth2::provider::Google; /// use inth_oauth2::provider::Google;
/// ///
/// let client = Client::<Google>::new( /// let client = Client::<Google>::new(