Skip to content

Commit c350a3c

Browse files
committed
doc(bind): fix r3::bind's summary breaking the crate-level module listing
When `#![doc = include_str!("../common.md")]` is put at the start, rustdoc recognizes its first line `<style ...>` as the summary para- graph, which vaporizes everything that follows.
1 parent c9105fe commit c350a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/r3/src/bind/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![doc = include_str!("../common.md")]
21
#![doc = r3_core::bind::__internal_module_doc!("r3_core", r#"
32
<div class="admonition-follows"></div>
43
@@ -110,6 +109,7 @@
110109
/// }
111110
/// ```
112111
)]
112+
#![doc = include_str!("../common.md")]
113113
use r3_core::kernel::{cfg, raw, raw_cfg};
114114

115115
pub use r3_core::bind::{

0 commit comments

Comments
 (0)