diff options
author | Alan Somers <asomers@gmail.com> | 2022-04-09 16:32:39 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-04-09 16:32:39 -0600 |
commit | 145c240cfac980db0cce774b9a5f438afc94342a (patch) | |
tree | 4002725c89229c90ff362a70c30bb32ec2eece38 /src/lib.rs | |
parent | 256707e8c77d47b07c21948cc8f1457655831019 (diff) | |
download | nix-145c240cfac980db0cce774b9a5f438afc94342a.zip |
Use singular number for all feature names
features => feature
users => user
Neither of these features have yet been included in a release, so it's
ok to rename them.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,7 +12,7 @@ //! * `dir` - Stuff relating to directory iteration //! * `env` - Manipulate environment variables //! * `event` - Event-driven APIs, like `kqueue` and `epoll` -//! * `features` - Query characteristics of the OS at runtime +//! * `feature` - Query characteristics of the OS at runtime //! * `fs` - File system functionality //! * `hostname` - Get and set the system's hostname //! * `inotify` - Linux's `inotify` file system notification API @@ -37,7 +37,7 @@ //! * `time` - Query the operating system's clocks //! * `ucontext` - User thread context //! * `uio` - Vectored I/O -//! * `users` - Stuff relating to users and groups +//! * `user` - Stuff relating to users and groups //! * `zerocopy` - APIs like `sendfile` and `copy_file_range` #![crate_name = "nix"] #![cfg(unix)] @@ -75,7 +75,7 @@ feature! { #[allow(missing_docs)] pub mod errno; feature! { - #![feature = "features"] + #![feature = "feature"] #[deny(missing_docs)] pub mod features; |