From 00fb8476626bcecb85a488da89d5d17129d1347f Mon Sep 17 00:00:00 2001 From: racerole <148756161+racerole@users.noreply.github.com> Date: Thu, 14 Mar 2024 01:12:39 +0800 Subject: [PATCH] docs: remove repeated words --- backend/onedrive/api/types.go | 2 +- fs/accounting/accounting.go | 2 +- fs/config/config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/onedrive/api/types.go b/backend/onedrive/api/types.go index 5e4ab6624..da4fa5a3c 100644 --- a/backend/onedrive/api/types.go +++ b/backend/onedrive/api/types.go @@ -581,7 +581,7 @@ type DrivesResponse struct { Drives []DriveResource `json:"value"` } -// SiteResource is part of the response from from "/sites/root:" +// SiteResource is part of the response from "/sites/root:" type SiteResource struct { SiteID string `json:"id"` SiteName string `json:"displayName"` diff --git a/fs/accounting/accounting.go b/fs/accounting/accounting.go index 2aa8c3219..f4cb57778 100644 --- a/fs/accounting/accounting.go +++ b/fs/accounting/accounting.go @@ -603,7 +603,7 @@ func (a *accountStream) SetStream(in io.Reader) { a.in = in } -// WrapStream wrap in in an accounter +// WrapStream wrap in an accounter func (a *accountStream) WrapStream(in io.Reader) io.Reader { return a.acc.WrapStream(in) } diff --git a/fs/config/config.go b/fs/config/config.go index 145f2a2df..4f27031d1 100644 --- a/fs/config/config.go +++ b/fs/config/config.go @@ -248,7 +248,7 @@ func makeConfigPath() string { } // No existing config file found, prepare proper default for a new one. - // But first check if if user supplied a --config variable or environment + // But first check if user supplied a --config variable or environment // variable, since then we skip actually trying to create the default // and report any errors related to it (we can't use pflag for this because // it isn't initialised yet so we search the command line manually).