Skip to content

Commit

Permalink
doc: Enable lib doc in more cases
Browse files Browse the repository at this point in the history
Before, we limited it to the `doc` feature because of how extensive the
README was.  It has since scaled back, so we can be more selective with
what features enable it.
  • Loading branch information
epage committed Dec 9, 2021
1 parent e98253d commit ac95522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// notice may not be copied, modified, or distributed except according to those terms.

#![doc(html_logo_url = "https://raw.githubusercontent.com/clap-rs/clap/master/assets/clap.png")]
#![cfg_attr(feature = "unstable-doc", doc = include_str!("../README.md"))]
#![cfg_attr(feature = "derive", doc = include_str!("../README.md"))]
//! <https://github.com/clap-rs/clap>
#![warn(
missing_docs,
Expand Down

0 comments on commit ac95522

Please sign in to comment.