summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-10-22 03:12:23 +0000
committerGitHub <noreply@github.com>2019-10-22 03:12:23 +0000
commita2bbbae3812ec5c1b591782394bcef478416b013 (patch)
tree4cc24751c1145e6454cf57636c52774ffb670089
parenta04fe5946872b0cb6d61e22f4822797011ba9b53 (diff)
parent3d870e0dfd49ad30428925a0511e7d84565e2250 (diff)
downloadnix-a2bbbae3812ec5c1b591782394bcef478416b013.zip
Merge #1141
1141: Fix typo in Gid::effective() docstring r=asomers a=scottschroeder - docstring now matches the actual `getegid()` call Co-authored-by: Scott Schroeder <scottschroeder@users.noreply.github.com>
-rw-r--r--src/unistd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd.rs b/src/unistd.rs
index 886084e8..952799e6 100644
--- a/src/unistd.rs
+++ b/src/unistd.rs
@@ -88,7 +88,7 @@ impl Gid {
getgid()
}
- /// Returns effective Gid of calling process. This is practically a more Rusty alias for `getgid`.
+ /// Returns effective Gid of calling process. This is practically a more Rusty alias for `getegid`.
pub fn effective() -> Self {
getegid()
}