Update examples for Client reexport
This commit is contained in:
parent
6a07e0f9d5
commit
c0da5aa016
|
@ -2,7 +2,7 @@ extern crate inth_oauth2;
|
|||
|
||||
use std::io;
|
||||
|
||||
use inth_oauth2::client::Client;
|
||||
use inth_oauth2::Client;
|
||||
use inth_oauth2::provider::GitHub;
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -2,7 +2,7 @@ extern crate inth_oauth2;
|
|||
|
||||
use std::io;
|
||||
|
||||
use inth_oauth2::client::Client;
|
||||
use inth_oauth2::Client;
|
||||
use inth_oauth2::provider::Google;
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -2,7 +2,7 @@ extern crate inth_oauth2;
|
|||
|
||||
use std::io;
|
||||
|
||||
use inth_oauth2::client::Client;
|
||||
use inth_oauth2::Client;
|
||||
use inth_oauth2::provider::Imgur;
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -42,7 +42,7 @@ impl<P: Provider> Client<P> {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// use inth_oauth2::client::Client;
|
||||
/// use inth_oauth2::Client;
|
||||
/// use inth_oauth2::provider::Google;
|
||||
///
|
||||
/// let client = Client::<Google>::new(
|
||||
|
@ -74,7 +74,7 @@ impl<P: Provider> Client<P> {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// use inth_oauth2::client::Client;
|
||||
/// use inth_oauth2::Client;
|
||||
/// use inth_oauth2::provider::Google;
|
||||
///
|
||||
/// let client = Client::<Google>::new(
|
||||
|
|
Loading…
Reference in New Issue