From 949b89495440fe81ef791622d6bb86028638c503 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Thu, 14 Sep 2023 21:06:18 +0200 Subject: [PATCH] Fix incorrect doc statement --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 08f773a..ecca0ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -69,9 +69,7 @@ pub trait Sandbox: Sized { /// /// # Errors /// - /// Sandboxing will fail if the calling process is not single-threaded, or - /// has previously been sandboxed. It is recommended to spawn a new process - /// before sandboxing to avoid these issues. + /// Sandboxing will fail if the calling process is not single-threaded. fn lock(self) -> Result<()>; }