From 7459f167c5f69aaf8eb668ccd0215a258f246c23 Mon Sep 17 00:00:00 2001 From: Mark Catley Date: Fri, 28 Jun 2019 09:46:59 +1200 Subject: [PATCH] Fixing typos and spelling in comments. --- src/installed.rs | 2 +- src/lib.rs | 2 +- src/refresh.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/installed.rs b/src/installed.rs index d734887..adf3994 100644 --- a/src/installed.rs +++ b/src/installed.rs @@ -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); diff --git a/src/lib.rs b/src/lib.rs index 26b59cb..6d16901 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 diff --git a/src/refresh.rs b/src/refresh.rs index ac1fc72..2ad6e43 100644 --- a/src/refresh.rs +++ b/src/refresh.rs @@ -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