mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
Fix prefix compaction clippy warning
This commit is contained in:
@@ -149,7 +149,7 @@ async fn take_finished_prefix_compact_task(sess: &Arc<Session>) -> Option<Prefix
|
||||
if state
|
||||
.prefix_compact_task
|
||||
.as_ref()
|
||||
.is_some_and(|task| task.is_finished())
|
||||
.is_some_and(tokio::task::JoinHandle::is_finished)
|
||||
{
|
||||
state.prefix_compact_task.take()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user