tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definitions

Fix TaffyAuto::AUTO docs (#441)

2352fdea58158ede0e670ff13dc4a47e21b982bb · by Simon Sapin · (3 years ago) · parent 5e63f994c · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +1 −1

diff --git a/src/style_helpers.rs b/src/style_helpers.rs
index 5e1c7e21a..56176d47e 100644
--- a/src/style_helpers.rs
+++ b/src/style_helpers.rs
@@ -167,7 +167,7 @@ pub const fn auto<T: TaffyAuto>() -> T {
 
 /// Trait to abstract over auto values
 pub trait TaffyAuto {
-    /// The auto value for type implementing TaffyZero
+    /// The auto value for type implementing TaffyAuto
     const AUTO: Self;
 }
 impl<T: TaffyAuto> TaffyAuto for Option<T> {