diff options
Diffstat (limited to 'src/sandbox/mod.rs')
| -rw-r--r-- | src/sandbox/mod.rs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/sandbox/mod.rs b/src/sandbox/mod.rs index 1c73e40..22bf062 100644 --- a/src/sandbox/mod.rs +++ b/src/sandbox/mod.rs @@ -72,10 +72,7 @@ impl 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 sandbox_info { #[derive(Debug, Clone)] pub struct SandboxInfo { @@ -84,11 +81,7 @@ mod sandbox_info { } } -/// The return type of `SandboxBackend::status`. No production module outside `sandbox` names it; the backend tests do. -/// -/// `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 return type of `SandboxBackend::status`. #[cfg(feature = "test-support")] pub use sandbox_info::SandboxInfo; |
