Skip to content

Commit cc3eef6

Browse files
cr1901adamgreig
andauthored
Ensure doc comments importing generic module are generated when using -g option.
Co-authored-by: Adam Greig <[email protected]>
1 parent 9d5b607 commit cc3eef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub fn render(
150150
out.extend(quote! {
151151
#[allow(unused_imports)]
152152
use generic::*;
153-
///Common register and bit access and modify traits
153+
#[doc="Common register and bit access and modify traits"]
154154
pub mod generic;
155155
});
156156
} else {

0 commit comments

Comments
 (0)