You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2024/01/03 05:24:52 UTC

(incubator-opendal) branch main updated: docs: very minor English wording fix in error message (#3900)

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/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 45e0c1b239 docs: very minor English wording fix in error message (#3900)
45e0c1b239 is described below

commit 45e0c1b2390ff1355aebe15c00f3cf991091e840
Author: Gabriel Grant <g...@briel.ca>
AuthorDate: Wed Jan 3 00:24:48 2024 -0500

    docs: very minor English wording fix in error message (#3900)
---
 core/src/raw/http_util/body.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/raw/http_util/body.rs b/core/src/raw/http_util/body.rs
index 954ec5ac02..cee80ec156 100644
--- a/core/src/raw/http_util/body.rs
+++ b/core/src/raw/http_util/body.rs
@@ -146,7 +146,7 @@ impl IncomingAsyncBody {
             Ordering::Equal => Ok(()),
             Ordering::Less => Err(Error::new(
                 ErrorKind::ContentIncomplete,
-                &format!("reader got too less data, expect: {expect}, actual: {actual}"),
+                &format!("reader got too little data, expect: {expect}, actual: {actual}"),
             )
             .set_temporary()),
             Ordering::Greater => Err(Error::new(