summaryrefslogtreecommitdiff
path: root/core/ops_builtin.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-06-26 15:10:27 +0200
committerGitHub <noreply@github.com>2023-06-26 09:10:27 -0400
commit801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch)
tree145f840c570dd72258ef309e9d31f100a5aa5786 /core/ops_builtin.rs
parentad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff)
chore: fix typos (#19572)
Diffstat (limited to 'core/ops_builtin.rs')
-rw-r--r--core/ops_builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ops_builtin.rs b/core/ops_builtin.rs
index 20afa210b..3728d132e 100644
--- a/core/ops_builtin.rs
+++ b/core/ops_builtin.rs
@@ -242,7 +242,7 @@ async fn op_read_all(
let mut grow_len: usize = 64 * 1024;
let (min, maybe_max) = resource.size_hint();
- // Try to determine an optimial starting buffer size for this resource based
+ // Try to determine an optimal starting buffer size for this resource based
// on the size hint.
let initial_size = match (min, maybe_max) {
(min, Some(max)) if min == max => min as usize,