diff options
Diffstat (limited to 'src/watch/staleness.rs')
| -rw-r--r-- | src/watch/staleness.rs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/watch/staleness.rs b/src/watch/staleness.rs index 6b83032..d3eed58 100644 --- a/src/watch/staleness.rs +++ b/src/watch/staleness.rs @@ -7,10 +7,7 @@ pub enum Kind { Missing, } -/// The real definition. The module is private, so this `pub` -/// is not a nameable path from outside; the alias below is the -/// only way to reach it, and the alias is what carries the -/// feature-conditional visibility. +/// The real definition; the alias below carries the visibility. mod stale { use super::Kind; @@ -24,11 +21,7 @@ mod stale { } } -/// one row of the staleness report. `http` and `ops` read the report `stale_rows` returns, but only the staleness tests write the name. -/// -/// `pub` only under `test-support`. Production reaches the type -/// through its own module and never names it from outside; the -/// outside reader that needs the name is a test. +/// One row of the staleness report. #[cfg(feature = "test-support")] pub use stale::Stale; |
