summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/container.rs2
-rw-r--r--native/src/widget/image.rs2
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<u8>` of BGRA
+ /// function expects the input data to be provided as a `Vec<u8>` of BGRA
/// pixels.
///
/// This is useful if you have already decoded your image.