mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
fix: suppress clippy violations that raced with #16351
This commit is contained in:
@@ -82,6 +82,7 @@ impl StatusHistoryHandle {
|
||||
} else {
|
||||
compose_rate_limit_data_many(rate_limits, now)
|
||||
};
|
||||
#[expect(clippy::expect_used)]
|
||||
let mut state = self
|
||||
.rate_limit_state
|
||||
.write()
|
||||
@@ -558,6 +559,7 @@ impl HistoryCell for StatusHistoryCell {
|
||||
.collect();
|
||||
let mut seen: BTreeSet<String> = labels.iter().cloned().collect();
|
||||
let thread_name = self.thread_name.as_deref().filter(|name| !name.is_empty());
|
||||
#[expect(clippy::expect_used)]
|
||||
let rate_limit_state = self
|
||||
.rate_limit_state
|
||||
.read()
|
||||
|
||||
Reference in New Issue
Block a user