Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed Jun 6, 2024
1 parent d0643d4 commit 7e86db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mito2/src/read/scan_region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ impl ScanInput {
common_runtime::spawn_read(async move {
loop {
// We release the permit before sending result to avoid the task waiting on
// the channel with the permit holded
// the channel with the permit held.
let maybe_batch = {
// Safety: We never close the semaphore.
let _permit = semaphore.acquire().await.unwrap();
Expand Down

0 comments on commit 7e86db6

Please sign in to comment.