diff --git a/runtime/permissions/lib.rs b/runtime/permissions/lib.rs index 3ba2332c38..8ab4058e79 100644 --- a/runtime/permissions/lib.rs +++ b/runtime/permissions/lib.rs @@ -2280,7 +2280,7 @@ impl Permissions { Self::none(false) } - pub fn none(prompt: bool) -> Self { + fn none(prompt: bool) -> Self { Self { read: Permissions::new_unary(None, None, prompt), write: Permissions::new_unary(None, None, prompt),