Skip to content

Commit 388a14c

Browse files
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 <[email protected]>
2 parents 2dca9dc + a17d000 commit 388a14c

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
@@ -3706,7 +3706,7 @@ impl User {
37063706
/// Get a user by name.
37073707
///
37083708
/// Internally, this function calls
3709-
/// [getpwnam_r(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwuid_r.html)
3709+
/// [getpwnam_r(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwnam_r.html)
37103710
///
37113711
/// # Examples
37123712
///

0 commit comments

Comments
 (0)