This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch dropbox-refresh-token
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/dropbox-refresh-token by this
push:
new 415b4ac0b Fix typo
415b4ac0b is described below
commit 415b4ac0bdf6e0965f28ba5b4b5cb3ed4585cd51
Author: Xuanwo <[email protected]>
AuthorDate: Fri Jul 7 12:52:17 2023 +0800
Fix typo
Signed-off-by: Xuanwo <[email protected]>
---
core/src/services/dropbox/builder.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/services/dropbox/builder.rs
b/core/src/services/dropbox/builder.rs
index 47621f7ae..2827d86a9 100644
--- a/core/src/services/dropbox/builder.rs
+++ b/core/src/services/dropbox/builder.rs
@@ -95,7 +95,7 @@ impl Debug for DropboxBuilder {
impl DropboxBuilder {
/// Set the root directory for dropbox.
///
- /// Defautl to `/` if not set.
+ /// Default to `/` if not set.
pub fn root(&mut self, root: &str) -> &mut Self {
self.root = Some(root.to_string());
self
@@ -177,7 +177,7 @@ impl Builder for DropboxBuilder {
let signer = match (self.access_token.take(),
self.refresh_token.take()) {
(Some(access_token), None) => DropboxSigner {
access_token,
- // We will never expire user specifed token.
+ // We will never expire user specified token.
expires_in: DateTime::<Utc>::MAX_UTC,
..Default::default()
},