diff options
Diffstat (limited to 'src/sandbox/loopback.rs')
| -rw-r--r-- | src/sandbox/loopback.rs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/sandbox/loopback.rs b/src/sandbox/loopback.rs index fb97660..5433ee6 100644 --- a/src/sandbox/loopback.rs +++ b/src/sandbox/loopback.rs @@ -7,10 +7,7 @@ use crate::config::Config; use crate::error::{Error, Result}; use crate::sandbox::{Cmd, Exit, Sandbox, SandboxBackend, SandboxInfo, SandboxSpec}; -/// 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 loopback_backend { use super::Config; // `pub` fields inside a private module are not nameable from @@ -21,11 +18,7 @@ mod loopback_backend { } } -/// The default backend, built by `backend_for`. A failure test builds one to inject a fault. -/// -/// `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. +/// The default backend, built by `backend_for`. #[cfg(feature = "test-support")] pub use loopback_backend::LoopbackBackend; |
