fmt: cargo fmt sweep across drifted files

No behavior change — purely whitespace/line-break cleanup that had
accumulated since the last format run.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cameron Cordes
2026-05-07 16:42:41 -04:00
parent 2a273a3ed9
commit b42acbb3f3
6 changed files with 39 additions and 39 deletions

View File

@@ -79,10 +79,7 @@ pub trait DailySummaryDao: Sync + Send {
/// Cheap presence check — returns true iff at least one daily summary row
/// exists. Used by gating logic that only needs "is the table empty?",
/// avoiding a `COUNT(*)` full scan on large corpora.
fn has_any_summaries(
&mut self,
context: &opentelemetry::Context,
) -> Result<bool, DbError>;
fn has_any_summaries(&mut self, context: &opentelemetry::Context) -> Result<bool, DbError>;
}
pub struct SqliteDailySummaryDao {
@@ -477,11 +474,10 @@ impl DailySummaryDao for SqliteDailySummaryDao {
one: i32,
}
let rows: Vec<ProbeResult> = diesel::sql_query(
"SELECT 1 as one FROM daily_conversation_summaries LIMIT 1",
)
.load(conn.deref_mut())
.map_err(|e| anyhow::anyhow!("Failed to probe daily summaries: {}", e))?;
let rows: Vec<ProbeResult> =
diesel::sql_query("SELECT 1 as one FROM daily_conversation_summaries LIMIT 1")
.load(conn.deref_mut())
.map_err(|e| anyhow::anyhow!("Failed to probe daily summaries: {}", e))?;
Ok(!rows.is_empty())
})