diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-09 14:00:32 -1000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-09 16:10:25 -1000 |
commit | da50e5fae8551d0bfb79326f43b4be1f051319bc (patch) | |
tree | 0c7e53033de68f1bbd4cb4c4c229fc3a4530eb12 | |
parent | 68061ddc596e6edddc2207dbfe7dcb7c083d9386 (diff) |
s/_docs/docs_
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | libbindgen/Cargo.toml | 2 | ||||
-rw-r--r-- | libbindgen/src/lib.rs | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 5882493b..8d7047aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ script: - git add -A - git diff @ - git diff-index --quiet HEAD - - cargo build --features "$BINDGEN_FEATURES _docs" + - cargo build --features "$BINDGEN_FEATURES docs_" - cd tests/expectations - cargo test - cd ../../../bindgen diff --git a/libbindgen/Cargo.toml b/libbindgen/Cargo.toml index bc3137db..dceb17f0 100644 --- a/libbindgen/Cargo.toml +++ b/libbindgen/Cargo.toml @@ -59,4 +59,4 @@ llvm_stable = [] logging = ["env_logger", "log"] static = [] # This feature only exists for CI -- don't use it! -_docs = [] +docs_ = [] 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::*; |