summaryrefslogtreecommitdiff
path: root/libbindgen/src
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2016-12-09 14:00:32 -1000
committerEmilio Cobos Álvarez <emilio@crisal.io>2016-12-09 16:10:25 -1000
commitda50e5fae8551d0bfb79326f43b4be1f051319bc (patch)
tree0c7e53033de68f1bbd4cb4c4c229fc3a4530eb12 /libbindgen/src
parent68061ddc596e6edddc2207dbfe7dcb7c083d9386 (diff)
s/_docs/docs_
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::*;