This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new e407167fd chore(core): fix typos for the QueryPairsWriter (#5978)
e407167fd is described below

commit e407167fd1565475d482fb57bfcbaac7556c0109
Author: Keming <[email protected]>
AuthorDate: Mon Apr 7 21:41:38 2025 +0800

    chore(core): fix typos for the QueryPairsWriter (#5978)
    
    Signed-off-by: Keming <[email protected]>
---
 core/src/raw/http_util/uri.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/raw/http_util/uri.rs b/core/src/raw/http_util/uri.rs
index 1f4b73b46..da0ec35fd 100644
--- a/core/src/raw/http_util/uri.rs
+++ b/core/src/raw/http_util/uri.rs
@@ -76,7 +76,7 @@ impl QueryPairsWriter {
         // 256 is the average size we observed of a url
         // in production.
         //
-        // We eargely allocate the string to avoid multiple
+        // We eagerly allocate the string to avoid multiple
         // allocations.
         let mut base = String::with_capacity(256);
         base.push_str(s);
@@ -90,7 +90,7 @@ impl QueryPairsWriter {
     /// Push a new pair of key and value to the url.
     ///
     /// The input key and value must already been percent
-    /// encoded correcrtly.
+    /// encoded correctly.
     pub fn push(mut self, key: &str, value: &str) -> Self {
         if self.has_query {
             self.base.push('&');

Reply via email to