From 2723c3f6d98f2006533352362fec0e2a00cc878b Mon Sep 17 00:00:00 2001 From: David Wendt Date: Wed, 24 Jun 2020 22:34:04 -0400 Subject: [PATCH] Rename `Collec` to `CollectWrapper` --- core/src/html/layout.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/html/layout.rs b/core/src/html/layout.rs index 7b5f8e60a..36a3e6f01 100644 --- a/core/src/html/layout.rs +++ b/core/src/html/layout.rs @@ -600,7 +600,7 @@ pub struct LayoutBox<'gc> { #[derive(Clone, Debug, Collect)] #[collect(require_static)] -pub struct Collec(T); +pub struct CollectWrapper(T); /// Represents different content modes of a given `LayoutBox`. /// @@ -630,7 +630,7 @@ pub enum LayoutContent<'gc> { params: EvalParameters, /// The color to render the font with. - color: Collec, + color: CollectWrapper, }, /// A layout box containing a bullet. @@ -649,7 +649,7 @@ pub enum LayoutContent<'gc> { params: EvalParameters, /// The color to render the font with. - color: Collec, + color: CollectWrapper, }, /// A layout box containing a drawing. @@ -682,7 +682,7 @@ impl<'gc> LayoutBox<'gc> { text_format: span.get_text_format(), font, params, - color: Collec(span.color.clone()), + color: CollectWrapper(span.color.clone()), }, }, ) @@ -705,7 +705,7 @@ impl<'gc> LayoutBox<'gc> { text_format: span.get_text_format(), font, params, - color: Collec(span.color.clone()), + color: CollectWrapper(span.color.clone()), }, }, )