Emit doc strings for custom value setters

This commit is contained in:
Marshall Bowers
2023-10-17 16:01:36 -04:00
parent 6f30d6b4d0
commit f09df31480
2 changed files with 15 additions and 2 deletions
+5 -1
View File
@@ -185,7 +185,11 @@ mod stories {
}
}
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
fn render(
&mut self,
_view: &mut S,
cx: &mut ViewContext<S>,
) -> impl Element<ViewState = S> {
Story::container(cx)
.child(Story::title_for::<_, Label<S>>(cx))
.child(Story::label(cx, "Default"))