Skip to content

Commit a2bbbae

Browse files
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 <[email protected]>
2 parents a04fe59 + 3d870e0 commit a2bbbae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unistd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl Gid {
8888
getgid()
8989
}
9090

91-
/// Returns effective Gid of calling process. This is practically a more Rusty alias for `getgid`.
91+
/// Returns effective Gid of calling process. This is practically a more Rusty alias for `getegid`.
9292
pub fn effective() -> Self {
9393
getegid()
9494
}

0 commit comments

Comments
 (0)