diff --git a/masonry/src/widget/align.rs b/masonry/src/widget/align.rs index 96d037b8a..4da55f39e 100644 --- a/masonry/src/widget/align.rs +++ b/masonry/src/widget/align.rs @@ -25,7 +25,7 @@ use crate::{ /// A widget that aligns its child. /// -#[doc = crate::include_screenshot!("widget/screenshots/masonry__widget__align__tests__right.png", "Right-aligned label")] +#[doc = crate::include_screenshot!("widget/screenshots/masonry__widget__align__tests__right.png", "Right-aligned label.")] pub struct Align { align: UnitPoint, child: WidgetPod, diff --git a/masonry/src/widget/button.rs b/masonry/src/widget/button.rs index 805cd772f..367dea5be 100644 --- a/masonry/src/widget/button.rs +++ b/masonry/src/widget/button.rs @@ -27,7 +27,7 @@ const LABEL_INSETS: Insets = Insets::uniform_xy(8., 2.); /// /// Emits [`Action::ButtonPressed`] when pressed. /// -#[doc = crate::include_screenshot!("widget/screenshots/masonry__widget__button__tests__hello.png", "Button with text label")] +#[doc = crate::include_screenshot!("widget/screenshots/masonry__widget__button__tests__hello.png", "Button with text label.")] pub struct Button { label: WidgetPod