You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had some trouble finding User::from_uid and Uid::current when looking for getpwuid and getuid replacements. It would be nice to add some doc aliases for the underlying C function names so that a library user can search the C function name and find the corresponding Rust function.
Unfortunately this feature was stabilized in 1.48 so we will have to wait for a MSRV bump to do it.
The text was updated successfully, but these errors were encountered:
1693: Document aliases for functions like getuid() r=asomers a=rtzoeller
Add the autocfg crate as a build dependency, and introduce `has_doc_alias` as a conditional compilation symbol.
Closes#1673.
Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
I had some trouble finding
User::from_uid
andUid::current
when looking forgetpwuid
andgetuid
replacements. It would be nice to add some doc aliases for the underlying C function names so that a library user can search the C function name and find the corresponding Rust function.Unfortunately this feature was stabilized in 1.48 so we will have to wait for a MSRV bump to do it.
The text was updated successfully, but these errors were encountered: