Skip to content

Commit 7029322

Browse files
authored
Fix documentation on docs.rs (#301)
We were using the `doc_auto_cfg` feature, but that's been renamed to just `doc_cfg`.
1 parent 21e85e9 commit 7029322

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Unreleased
22

3+
- Fix documentation building on `docs.rs`.
4+
35
# 0.4.7
46

57
- Added support for Android using the `ndk` crate.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#![allow(clippy::needless_doctest_main)]
33
#![deny(unsafe_op_in_unsafe_fn)]
44
#![warn(missing_docs)]
5-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5+
#![cfg_attr(docsrs, feature(doc_cfg))]
66

77
extern crate core;
88

0 commit comments

Comments
 (0)