Fixing typos and spelling in comments.

This commit is contained in:
Mark Catley
2019-06-28 09:46:59 +12:00
parent 57c84263c0
commit 7459f167c5
3 changed files with 3 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ impl<'c, FD: 'static + FlowDelegate + Clone + Send, C: 'c + hyper::client::conne
.then(|r| {
match r {
Ok(Some(mut code)) => {
// Partial backwards compatibilty in case an implementation adds a new line
// Partial backwards compatibility in case an implementation adds a new line
// due to previous behaviour.
let ends_with_newline =
code.chars().last().map(|c| c == '\n').unwrap_or(false);

View File

@@ -8,7 +8,7 @@
//! # Device Flow Usage
//! As the `DeviceFlow` involves polling, the `DeviceFlowHelper` should be used
//! as means to adhere to the protocol, and remain resilient to all kinds of errors
//! that can occour on the way.
//! that can occur on the way.
//!
//! # Service account "flow"
//! When using service account credentials, no user interaction is required. The access token

View File

@@ -9,7 +9,7 @@ use hyper::header;
use serde_json as json;
use url::form_urlencoded;
/// Implements the [Outh2 Refresh Token Flow](https://developers.google.com/youtube/v3/guides/authentication#devices).
/// Implements the [OAuth2 Refresh Token Flow](https://developers.google.com/youtube/v3/guides/authentication#devices).
///
/// Refresh an expired access token, as obtained by any other authentication flow.
/// This flow is useful when your `Token` is expired and allows to obtain a new