Skip to content

Commit

Permalink
docsrs: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
homersimpsons authored and Geal committed Jun 23, 2021
1 parent 47fb5d6 commit 9c51ac6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@
#![cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))]
#![cfg_attr(nightly, feature(test))]
#![cfg_attr(feature = "docsrs", feature(doc_cfg))]
#![cfg_attr(feature = "docsrs", feature(external_doc))]
#![deny(missing_docs)]
#![warn(missing_doc_code_examples)]

Expand Down Expand Up @@ -521,5 +520,5 @@ mod str;
pub mod number;

#[cfg(feature = "docsrs")]
#[cfg_attr(feature = "docsrs", doc(include = "../doc/nom_recipes.md"))]
#[cfg_attr(feature = "docsrs", doc = include_str!("../doc/nom_recipes.md"))]
pub mod recipes {}

0 comments on commit 9c51ac6

Please sign in to comment.