summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-04-16 16:00:49 +0000
committerGitHub <noreply@github.com>2023-04-16 16:00:49 +0000
commit388a14c7813bc9e1599a82b85cc8e72422fa4f39 (patch)
tree0bc5ad3c18edf64141fb4093b01c534f6176be50 /src
parent2dca9dc6f40ca33d115223c4c12151d764b9e786 (diff)
parenta17d0006f75488a3d8389b6b8689301d0b5aa867 (diff)
downloadnix-388a14c7813bc9e1599a82b85cc8e72422fa4f39.zip
Merge #2021
2021: Fixing link in rustdoc comments in User::from_name r=asomers a=austinkeeley Link text is correct but the URL goes to the wrong function. Probably just a copy/paste issue from the other function. Co-authored-by: Austin Keeley <austin.keeley@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/unistd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd.rs b/src/unistd.rs
index a10c17b5..7230c337 100644
--- a/src/unistd.rs
+++ b/src/unistd.rs
@@ -3706,7 +3706,7 @@ impl User {
/// Get a user by name.
///
/// Internally, this function calls
- /// [getpwnam_r(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwuid_r.html)
+ /// [getpwnam_r(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwnam_r.html)
///
/// # Examples
///