gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1061HTML 997Markdown 12TOML 83120 Definiciones

Fix TaffyAuto::AUTO docs (#441)

2352fdea58158ede0e670ff13dc4a47e21b982bb · por Simon Sapin · (hace 3 años) · padre 5e63f994c · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

1 archivos · +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> {