From 04afc06b00b28645462f3cca1626d22c1cd579f8 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 24 Nov 2022 23:22:39 +0900 Subject: refactor(core): fix typo in ops_builtin.rs (#16613) --- core/ops_builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/ops_builtin.rs') diff --git a/core/ops_builtin.rs b/core/ops_builtin.rs index 3fc9d62d6..6374e9951 100644 --- a/core/ops_builtin.rs +++ b/core/ops_builtin.rs @@ -205,7 +205,7 @@ async fn op_read_all( match maybe_max { Some(max) if vec.len() >= max as usize => { // no need to resize the vec, because the vec is already large enough - // to accomodate the maximum size of the read data. + // to accommodate the maximum size of the read data. } Some(max) if (max as usize) < vec.len() + grow_len => { // grow the vec to the maximum size of the read data -- cgit v1.2.3