Skip to content

Commit e8ef8a2

Browse files
committed
Cleaned up README doc include
1 parent c8ead92 commit e8ef8a2

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

isoprenoid-unsend/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![warn(clippy::pedantic)]
22
#![warn(missing_docs)]
33
#![warn(unreachable_pub)]
4-
#![doc = include_str!("../README.md")]
4+
#![cfg_attr(feature = "_doc", doc = include_str!("../README.md"))]
55

66
#[cfg(all(
77
feature = "local_signals_runtime",
@@ -12,6 +12,3 @@ compile_error!("A dependent enabled the `local_signals_runtime` feature, but ano
1212
pub mod raw;
1313
pub mod runtime;
1414
pub mod slot;
15-
16-
#[doc = include_str!("../README.md")]
17-
mod readme {}

isoprenoid/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![warn(clippy::pedantic)]
22
#![warn(missing_docs)]
33
#![warn(unreachable_pub)]
4-
#![doc = include_str!("../README.md")]
4+
#![cfg_attr(feature = "_doc", doc = include_str!("../README.md"))]
55

66
#[cfg(all(
77
feature = "global_signals_runtime",
@@ -12,6 +12,3 @@ compile_error!("A dependent enabled the `global_signals_runtime` feature, but an
1212
pub mod raw;
1313
pub mod runtime;
1414
pub mod slot;
15-
16-
#[doc = include_str!("../README.md")]
17-
mod readme {}

0 commit comments

Comments
 (0)