Skip to content

Commit

Permalink
use cfg_attr(doc)
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Nov 21, 2024
1 parent 071eff1 commit 60f5f80
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 @@ -8,7 +8,7 @@
#![doc = concat!("[examples/custom_emitter.rs]: ", blob_url_prefix!(), "examples/custom_emitter.rs")]
#![doc = concat!("[examples/callback_emitter.rs]: ", blob_url_prefix!(), "examples/callback_emitter.rs")]
#![doc = concat!("[examples/scraper.rs]: ", blob_url_prefix!(), "examples/scraper.rs")]
#![doc = include_str!("../README.md")]
#![cfg_attr(doc, doc = include_str!("../README.md"))]
//
#![warn(clippy::all)]
#![warn(
Expand Down

0 comments on commit 60f5f80

Please sign in to comment.