From e5d264caf05b9d3ed71cf690d754e74d68d3103b Mon Sep 17 00:00:00 2001 From: Mark Friedenbach Date: Fri, 20 Mar 2020 15:51:05 -0700 Subject: [PATCH] Remove excess whitespace from end of line to comply with `cargo fmt`. --- native/src/widget/container.rs | 2 +- native/src/widget/image.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native/src/widget/container.rs b/native/src/widget/container.rs index 3459a832..d1cbb32e 100644 --- a/native/src/widget/container.rs +++ b/native/src/widget/container.rs @@ -77,7 +77,7 @@ where self.max_height = max_height; self } - + /// Sets the content alignment for the horizontal axis of the [`Container`]. /// /// [`Container`]: struct.Container.html diff --git a/native/src/widget/image.rs b/native/src/widget/image.rs index fbe38bfc..5b067687 100644 --- a/native/src/widget/image.rs +++ b/native/src/widget/image.rs @@ -126,7 +126,7 @@ impl Handle { } /// Creates an image [`Handle`] containing the image pixels directly. This - /// function expects the input data to be provided as a `Vec` of BGRA + /// function expects the input data to be provided as a `Vec` of BGRA /// pixels. /// /// This is useful if you have already decoded your image.