summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Schroeder <scottschroeder@users.noreply.github.com>2019-10-21 18:44:24 -0400
committerGitHub <noreply@github.com>2019-10-21 18:44:24 -0400
commit3d870e0dfd49ad30428925a0511e7d84565e2250 (patch)
tree4cc24751c1145e6454cf57636c52774ffb670089
parenta04fe5946872b0cb6d61e22f4822797011ba9b53 (diff)
downloadnix-3d870e0dfd49ad30428925a0511e7d84565e2250.zip
fix documentation typo for effective gid
-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()
}