summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-03-21 05:24:39 +0100
committerLibravatar GitHub <noreply@github.com>2020-03-21 05:24:39 +0100
commit99a6f8dbc6f9f50f799906c8104dfff961469fd0 (patch)
tree70d39ebb8d3084193ec657a01fba2fe94643688f
parentf7ec679fec1b69c6dc5bc12d60627629f086bf22 (diff)
parente5d264caf05b9d3ed71cf690d754e74d68d3103b (diff)
downloadiced-99a6f8dbc6f9f50f799906c8104dfff961469fd0.tar.gz
iced-99a6f8dbc6f9f50f799906c8104dfff961469fd0.tar.bz2
iced-99a6f8dbc6f9f50f799906c8104dfff961469fd0.zip
Merge pull request #228 from maaku/fix-cargo-fmt
Remove excess whitespace from end of line to comply with `cargo fmt`.
-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.