Skip to content

Commit 94de45c

Browse files
committed
s/_docs/docs_
1 parent 452319f commit 94de45c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ script:
3131
- git add -A
3232
- git diff @
3333
- git diff-index --quiet HEAD
34-
- cargo build --features "$BINDGEN_FEATURES _docs"
34+
- cargo build --features "$BINDGEN_FEATURES docs_"
3535
- cd tests/expectations
3636
- cargo test
3737
- cd ../../../bindgen

libbindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ llvm_stable = []
5959
logging = ["env_logger", "log"]
6060
static = []
6161
# This feature only exists for CI -- don't use it!
62-
_docs = []
62+
docs_ = []

libbindgen/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ extern crate log;
4040
mod log_stubs;
4141

4242
// A macro to declare an internal module for which we *must* provide
43-
// documentation for. If we are building with the "_docs" feature, then the
43+
// documentation for. If we are building with the "docs_" feature, then the
4444
// module is declared public, and our `#![deny(missing_docs)]` pragma applies to
4545
// it. This feature is used in CI, so we won't let anything slip by
4646
// undocumented. Normal builds, however, will leave the module private, so that
4747
// we don't expose internals to library consumers.
4848
macro_rules! doc_mod {
4949
($m:ident, $doc_mod_name:ident) => {
5050
cfg_if! {
51-
if #[cfg(feature = "_docs")] {
51+
if #[cfg(feature = "docs_")] {
5252
pub mod $doc_mod_name {
5353
//! Autogenerated documentation module.
5454
pub use super::$m::*;

0 commit comments

Comments
 (0)