@@ -153,7 +153,7 @@ impl<T: TaffyZero> TaffyZero for Rect<T> {
153153 const ZERO : Rect < T > = Rect { left : T :: ZERO , right : T :: ZERO , top : T :: ZERO , bottom : T :: ZERO } ;
154154}
155155impl < T : TaffyZero > Rect < T > {
156- /// Returns a Size where the left, right, top, and bottom values are all the zero value of the contained type
156+ /// Returns a Rect where the left, right, top, and bottom values are all the zero value of the contained type
157157 /// (e.g. 0.0, Some(0.0), or Dimension::Length(0.0))
158158 pub const fn zero ( ) -> Self {
159159 zero :: < Self > ( )
@@ -207,7 +207,7 @@ impl<T: TaffyAuto> TaffyAuto for Rect<T> {
207207 const AUTO : Rect < T > = Rect { left : T :: AUTO , right : T :: AUTO , top : T :: AUTO , bottom : T :: AUTO } ;
208208}
209209impl < T : TaffyAuto > Rect < T > {
210- /// Returns a Size where the left, right, top, and bottom values are all the auto value of the contained type
210+ /// Returns a Rect where the left, right, top, and bottom values are all the auto value of the contained type
211211 /// (e.g. Dimension::Auto or LengthPercentageAuto::Auto)
212212 pub const fn auto ( ) -> Self {
213213 auto :: < Self > ( )
@@ -262,7 +262,7 @@ impl<T: TaffyMinContent> TaffyMinContent for Rect<T> {
262262 Rect { left : T :: MIN_CONTENT , right : T :: MIN_CONTENT , top : T :: MIN_CONTENT , bottom : T :: MIN_CONTENT } ;
263263}
264264impl < T : TaffyMinContent > Rect < T > {
265- /// Returns a Size where the left, right, top, and bottom values are all the min_content value of the contained type
265+ /// Returns a Rect where the left, right, top, and bottom values are all the min_content value of the contained type
266266 /// (e.g. Dimension::Auto or LengthPercentageAuto::Auto)
267267 pub const fn min_content ( ) -> Self {
268268 min_content :: < Self > ( )
@@ -317,7 +317,7 @@ impl<T: TaffyMaxContent> TaffyMaxContent for Rect<T> {
317317 Rect { left : T :: MAX_CONTENT , right : T :: MAX_CONTENT , top : T :: MAX_CONTENT , bottom : T :: MAX_CONTENT } ;
318318}
319319impl < T : TaffyMaxContent > Rect < T > {
320- /// Returns a Size where the left, right, top, and bottom values are all the max_content value of the contained type
320+ /// Returns a Rect where the left, right, top, and bottom values are all the max_content value of the contained type
321321 /// (e.g. Dimension::Auto or LengthPercentageAuto::Auto)
322322 pub const fn max_content ( ) -> Self {
323323 max_content :: < Self > ( )
0 commit comments