summaryrefslogtreecommitdiffstats
path: root/src/watch
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch')
-rw-r--r--src/watch/mirror.rs3
-rw-r--r--src/watch/upstream.rs6
2 files changed, 0 insertions, 9 deletions
diff --git a/src/watch/mirror.rs b/src/watch/mirror.rs
index 0eb9a77..5a42a11 100644
--- a/src/watch/mirror.rs
+++ b/src/watch/mirror.rs
@@ -15,9 +15,6 @@ pub enum Sync {
}
/// Detection calls it to move the mirror; the test that pins it drives a real sync.
-///
-/// Module-internal in a production build, `pub` only under `test-support`:
-/// one body behind two visibility declarations, exactly one of which compiles.
#[cfg(feature = "test-support")]
pub fn sync_mirror(cfg: &Config, db: &Db, name: &str, url: &str) -> Result<Sync> {
sync_mirror_impl(cfg, db, name, url)
diff --git a/src/watch/upstream.rs b/src/watch/upstream.rs
index 523574a..3faeacc 100644
--- a/src/watch/upstream.rs
+++ b/src/watch/upstream.rs
@@ -23,9 +23,6 @@ pub struct StageA {
impl StageA {
/// Detection consults it; the VCS test that asserts it needs a real mirror.
- ///
- /// Module-internal in a production build, `pub` only under `test-support`:
- /// one body behind two visibility declarations, exactly one of which compiles.
#[cfg(feature = "test-support")]
pub fn needs_stage_b(&self) -> bool {
Self::needs_stage_b_impl(self)
@@ -42,9 +39,6 @@ impl StageA {
}
/// Detection calls it on every expensive poll; the tests that pin it need a fixture.
-///
-/// Module-internal in a production build, `pub` only under `test-support`:
-/// one body behind two visibility declarations, exactly one of which compiles.
#[cfg(feature = "test-support")]
pub fn probe(recipe: &Recipe, accepted: &[UpstreamPin]) -> Result<StageA> {
probe_impl(recipe, accepted)