Skip to content

Commit

Permalink
Merge #2021
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bors[bot] and austinkeeley committed Apr 16, 2023
2 parents 2dca9dc + a17d000 commit 388a14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unistd.rs
Expand Up @@ -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
///
Expand Down

0 comments on commit 388a14c

Please sign in to comment.