summaryrefslogtreecommitdiffstats
path: root/src/usecase/detect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/usecase/detect.rs')
-rw-r--r--src/usecase/detect.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/usecase/detect.rs b/src/usecase/detect.rs
index 67cc83c..42f98d9 100644
--- a/src/usecase/detect.rs
+++ b/src/usecase/detect.rs
@@ -5,12 +5,8 @@ use crate::db::{self, Db, SubscriptionState};
use crate::error::Result;
use crate::watch::detect::{self, Outcome};
-/// One pkgbase's detection result.
-///
-/// Per-item failures are returned rather than raised: a sweep over every
-/// subscription should not stop at the first pkgbase whose mirror is
-/// unreachable, and the caller decides whether a failure is a line on stderr
-/// or a row in a table.
+/// One pkgbase's detection result. Per-item failures are returned, not raised,
+/// so a sweep does not stop at the first unreachable mirror.
pub struct Checked {
pub pkgbase: String,
pub outcome: Result<Outcome>,