summaryrefslogtreecommitdiff
path: root/libbindgen/src
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/src')
-rw-r--r--libbindgen/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbindgen/src/lib.rs b/libbindgen/src/lib.rs
index b2d3593c..6ed5cd4b 100644
--- a/libbindgen/src/lib.rs
+++ b/libbindgen/src/lib.rs
@@ -40,7 +40,7 @@ extern crate log;
mod log_stubs;
// A macro to declare an internal module for which we *must* provide
-// documentation for. If we are building with the "_docs" feature, then the
+// documentation for. If we are building with the "docs_" feature, then the
// module is declared public, and our `#![deny(missing_docs)]` pragma applies to
// it. This feature is used in CI, so we won't let anything slip by
// undocumented. Normal builds, however, will leave the module private, so that
@@ -48,7 +48,7 @@ mod log_stubs;
macro_rules! doc_mod {
($m:ident, $doc_mod_name:ident) => {
cfg_if! {
- if #[cfg(feature = "_docs")] {
+ if #[cfg(feature = "docs_")] {
pub mod $doc_mod_name {
//! Autogenerated documentation module.
pub use super::$m::*;