commit 488780b95c21e0fbed86a4ff609301c16550bd98
parent 117806ecce6ae432f64d2a6ea4b18a2940ae2248
Author: Zack Newman <zack@philomathiclife.com>
Date: Sun, 17 Sep 2023 11:03:25 -0600
update documentation for pledge
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0"
name = "priv_sep"
readme = "README.md"
repository = "https://git.philomathiclife.com/repos/priv_sep/"
-version = "0.6.0"
+version = "0.6.1"
[lib]
name = "priv_sep"
diff --git a/src/lib.rs b/src/lib.rs
@@ -182,7 +182,7 @@ impl Display for Promise {
}
}
/// Invokes [`pledge(2)`](https://man.openbsd.org/amd64/pledge.2) always passing in
-/// `NULL` for `execpromises`. When `None` is passed, then `NULL` is passed for `promises`. When `Some([])`
+/// `NULL` for `execpromises`. When `None` is passed, then `NULL` is passed for `promises`. When `Some(&[])`
/// is passed, then `""` is passed for `promises`. Like the system call it wraps, duplicates are ignored.
///
/// # Errors