mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
refactor(core): fix typo in ops_builtin.rs (#16613)
This commit is contained in:
parent
fe7e3a12ca
commit
04afc06b00
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ async fn op_read_all(
|
||||||
match maybe_max {
|
match maybe_max {
|
||||||
Some(max) if vec.len() >= max as usize => {
|
Some(max) if vec.len() >= max as usize => {
|
||||||
// no need to resize the vec, because the vec is already large enough
|
// 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 => {
|
Some(max) if (max as usize) < vec.len() + grow_len => {
|
||||||
// grow the vec to the maximum size of the read data
|
// grow the vec to the maximum size of the read data
|
||||||
|
|
Loading…
Reference in a new issue