fix(sandbox): restore SandboxManager doc placement (clippy doc-list lint)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TagtWzJ9CfZrsCYVbkiiMU
Entire-Checkpoint: 01M0RBEXMT0FMMJWHJ2ZJE7EQ8
This commit is contained in:
CodeWhale Bot
2026-08-23 15:22:04 -07:00
parent 58b0c523f5
commit 70d989974f

View File

@@ -438,12 +438,8 @@ impl BwrapMountExtensions {
}
}
/// The `SandboxManager` is responsible for:
/// - Detecting available sandbox technologies
/// - Transforming `CommandSpecs` into sandboxed `ExecEnvs`
/// - Detecting sandbox denials from command output
/// Expand a leading `~` or `~/` to the user's home directory. Paths without
/// the prefix — and any path when no home directory is resolvable — pass
/// the prefix (and any path when no home directory is resolvable) pass
/// through unchanged.
fn expand_home_prefix(path: PathBuf) -> PathBuf {
let Some(text) = path.to_str() else {
@@ -460,6 +456,10 @@ fn expand_home_prefix(path: PathBuf) -> PathBuf {
path
}
/// The `SandboxManager` is responsible for:
/// - Detecting available sandbox technologies
/// - Transforming `CommandSpecs` into sandboxed `ExecEnvs`
/// - Detecting sandbox denials from command output
#[derive(Debug, Default)]
pub struct SandboxManager {
/// Cached sandbox availability check.