The #[component] macro used to output an empty rustdoc comment (i.e ///) when a component had no documentation and no props. This triggers the empty_docs clippy warning which is new, and on by default, in Rust 1.78. This change avoids outputting that empty comment in that particular case.
The
#[component]
macro used to output an empty rustdoc comment (i.e///
) when a component had no documentation and no props. This triggers theempty_docs
clippy warning which is new, and on by default, in Rust 1.78. This change avoids outputting that empty comment in that particular case.fixes: #2571