Replace em dashes with hyphens across docs and comments

This commit is contained in:
2026-08-29 08:13:54 +00:00
parent db5adc9324
commit 24988eefcd
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ pub struct Detection {
/// Stand-in for real ONNX Runtime inference (the `ort` crate, using a model
/// trained on failure images). Always reports one fixed "failure" so the
/// rest of the pipeline reporting, acking the stream entry has
/// rest of the pipeline - reporting, acking the stream entry - has
/// something to do and can be tested without a real model file.
///
/// Swap this out once you're comfortable with the pipeline around it:
+1 -1
View File
@@ -23,7 +23,7 @@ async fn main() -> anyhow::Result<()> {
let mut reporter = Reporter::connect(&config.redis_url).await?;
// Consumer groups have to exist before you can read from them. This
// fails with "BUSYGROUP" if it already exists that's fine, ignore it.
// fails with "BUSYGROUP" if it already exists - that's fine, ignore it.
let _: redis::RedisResult<String> = conn
.xgroup_create_mkstream(&config.frame_stream, &config.consumer_group, "$")
.await;
+2 -2
View File
@@ -17,11 +17,11 @@ impl Reporter {
Ok(Self { redis })
}
/// Publishes to Redis (real this is what `continuum-backend`'s
/// Publishes to Redis (real - this is what `continuum-backend`'s
/// WebSocket fan-out subscribes to, for live operator-console alerts).
///
/// A real version would also `INSERT` into Postgres here via `sqlx` for
/// the permanent audit trail that's left as a `println!` for now;
/// the permanent audit trail - that's left as a `println!` for now;
/// come back to it once async SQL feels comfortable.
pub async fn report(&mut self, printer_id: &str, detections: &[Detection]) -> anyhow::Result<()> {
let best = &detections[0];