@@ -45,7 +45,7 @@ pub use self::setres::*;
4545pub use self :: getres:: * ;
4646
4747feature ! {
48- #![ feature = "users " ]
48+ #![ feature = "user " ]
4949
5050/// User identifier
5151///
@@ -591,7 +591,7 @@ pub fn symlinkat<P1: ?Sized + NixPath, P2: ?Sized + NixPath>(
591591
592592// Double the buffer capacity up to limit. In case it already has
593593// reached the limit, return Errno::ERANGE.
594- #[ cfg( any( feature = "fs" , feature = "users " ) ) ]
594+ #[ cfg( any( feature = "fs" , feature = "user " ) ) ]
595595fn reserve_double_buffer_size < T > ( buf : & mut Vec < T > , limit : usize ) -> Result < ( ) > {
596596 use std:: cmp:: min;
597597
@@ -654,7 +654,7 @@ pub fn getcwd() -> Result<PathBuf> {
654654}
655655
656656feature ! {
657- #![ all( feature = "users " , feature = "fs" ) ]
657+ #![ all( feature = "user " , feature = "fs" ) ]
658658
659659/// Computes the raw UID and GID values to pass to a `*chown` call.
660660// The cast is not unnecessary on all platforms.
@@ -1348,7 +1348,7 @@ pub fn fdatasync(fd: RawFd) -> Result<()> {
13481348}
13491349
13501350feature ! {
1351- #![ feature = "users " ]
1351+ #![ feature = "user " ]
13521352
13531353/// Get a real user ID
13541354///
@@ -1432,7 +1432,7 @@ pub fn setgid(gid: Gid) -> Result<()> {
14321432}
14331433
14341434feature ! {
1435- #![ all( feature = "fs" , feature = "users " ) ]
1435+ #![ all( feature = "fs" , feature = "user " ) ]
14361436/// Set the user identity used for filesystem checks per-thread.
14371437/// On both success and failure, this call returns the previous filesystem user
14381438/// ID of the caller.
@@ -1457,7 +1457,7 @@ pub fn setfsgid(gid: Gid) -> Gid {
14571457}
14581458
14591459feature ! {
1460- #![ feature = "users " ]
1460+ #![ feature = "user " ]
14611461
14621462/// Get the list of supplementary group IDs of the calling process.
14631463///
@@ -1868,7 +1868,7 @@ pub fn mkstemp<P: ?Sized + NixPath>(template: &P) -> Result<(RawFd, PathBuf)> {
18681868}
18691869
18701870feature ! {
1871- #![ all( feature = "fs" , feature = "features " ) ]
1871+ #![ all( feature = "fs" , feature = "feature " ) ]
18721872
18731873/// Variable names for `pathconf`
18741874///
@@ -2064,7 +2064,7 @@ pub fn pathconf<P: ?Sized + NixPath>(path: &P, var: PathconfVar) -> Result<Optio
20642064}
20652065
20662066feature ! {
2067- #![ feature = "features " ]
2067+ #![ feature = "feature " ]
20682068
20692069/// Variable names for `sysconf`
20702070///
@@ -2705,7 +2705,7 @@ mod pivot_root {
27052705 target_os = "openbsd" ) ) ]
27062706mod setres {
27072707 feature ! {
2708- #![ feature = "users " ]
2708+ #![ feature = "user " ]
27092709
27102710 use crate :: Result ;
27112711 use crate :: errno:: Errno ;
@@ -2752,7 +2752,7 @@ mod setres {
27522752 target_os = "openbsd" ) ) ]
27532753mod getres {
27542754 feature ! {
2755- #![ feature = "users " ]
2755+ #![ feature = "user " ]
27562756
27572757 use crate :: Result ;
27582758 use crate :: errno:: Errno ;
@@ -2846,7 +2846,7 @@ pub fn access<P: ?Sized + NixPath>(path: &P, amode: AccessFlags) -> Result<()> {
28462846}
28472847
28482848feature ! {
2849- #![ feature = "users " ]
2849+ #![ feature = "user " ]
28502850
28512851/// Representation of a User, based on `libc::passwd`
28522852///
@@ -3212,7 +3212,7 @@ pub fn ttyname(fd: RawFd) -> Result<PathBuf> {
32123212}
32133213
32143214feature ! {
3215- #![ all( feature = "socket" , feature = "users " ) ]
3215+ #![ all( feature = "socket" , feature = "user " ) ]
32163216
32173217/// Get the effective user ID and group ID associated with a Unix domain socket.
32183218///
0 commit comments