Skip to content

Commit 8216c33

Browse files
committed
Rely on scope cleanup for redundant explicit drops
Keep retained owners outside lock scopes and preserve callback-sensitive release ordering. Assisted-by: OpenAI Codex:model version not exposed
1 parent 1699fe7 commit 8216c33

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎crates/stdlib/src/_queue.rs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,10 @@ mod _queue {
254254
let PutArgs {
255255
item,
256256
block,
257-
timeout,
257+
timeout: _timeout,
258258
} = args;
259259
is_blocking(&block, vm)?;
260260
zelf.push(item, vm);
261-
drop(timeout);
262261
Ok(())
263262
}
264263

0 commit comments

Comments
 (0)