From 9144fc7019582eff3f7e1ffa444abfdd1edce7bd Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 3 Nov 2026 12:18:25 +0100 Subject: [PATCH] quota: restore the observe_at signature the doc rewrite swallowed Co-Authored-By: Claude Opus 5.5 --- crates/claude-connector/src/quota.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/claude-connector/src/quota.rs b/crates/claude-connector/src/quota.rs index af342e0..0191b09 100644 --- a/crates/claude-connector/src/quota.rs +++ b/crates/claude-connector/src/quota.rs @@ -33,7 +33,7 @@ impl QuotaCell { /// held one is dropped, so a slow call cannot replace what a faster one /// saw meanwhile. Windows the readings did not mention stay as they were, /// stamp included. -(&self, at: u64, windows: impl IntoIterator) { + pub fn observe_at(&self, at: u64, windows: impl IntoIterator) { let mut held = self.0.lock().unwrap_or_else(|e| e.into_inner()); for mut quota in windows { quota.observed_at_unix_ms = at;