summaryrefslogtreecommitdiffstats
path: root/core/src/align.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-23 12:00:50 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-23 12:00:50 +0100
commit3a678561f2da92e089390ee79bd4f9efc2c1a8c7 (patch)
tree2be3dbb38b121f270867f6654148a1f90617fb78 /core/src/align.rs
parente8595218ef5de6103ce1e4ceacd3b7f3f3f2b40e (diff)
downloadiced-3a678561f2da92e089390ee79bd4f9efc2c1a8c7.tar.gz
iced-3a678561f2da92e089390ee79bd4f9efc2c1a8c7.tar.bz2
iced-3a678561f2da92e089390ee79bd4f9efc2c1a8c7.zip
Fix documentation for `Axis`
Diffstat (limited to 'core/src/align.rs')
-rw-r--r--core/src/align.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/align.rs b/core/src/align.rs
index 05bd5e63..8a59afa1 100644
--- a/core/src/align.rs
+++ b/core/src/align.rs
@@ -1,13 +1,13 @@
-/// Alignment on an unspecified axis of a container.
+/// Alignment on an axis of a container.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum Align {
- /// Align at the start of the cross axis.
+ /// Align at the start of the axis.
Start,
- /// Align at the center of the cross axis.
+ /// Align at the center of the axis.
Center,
- /// Align at the end of the cross axis.
+ /// Align at the end of the axis.
End,
}