summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2022-04-09 16:32:39 -0600
committerAlan Somers <asomers@gmail.com>2022-04-09 16:32:39 -0600
commit145c240cfac980db0cce774b9a5f438afc94342a (patch)
tree4002725c89229c90ff362a70c30bb32ec2eece38 /src/lib.rs
parent256707e8c77d47b07c21948cc8f1457655831019 (diff)
downloadnix-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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 172ca3a1..d4dcbc4c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;