Check for missing docs.

This commit is contained in:
Stephen Chung
2022-06-05 18:17:44 +08:00
parent 0a9457a13d
commit 6ebe002b18
8 changed files with 38 additions and 19 deletions

View File

@@ -97,6 +97,7 @@ macro_rules! def_package {
}
impl $package {
#[doc=concat!("Create a new `", stringify!($package), "`")]
pub fn new() -> Self {
let mut module = $crate::Module::new();
<Self as $crate::packages::Package>::init(&mut module);