impl Debug on MetaContext

This commit is contained in:
Greg Johnston 2023-01-17 12:17:16 -05:00
parent 2723871a80
commit 6ed86d0ee9

View file

@ -64,14 +64,14 @@ pub use title::*;
/// ///
/// This should generally by provided somewhere in the root of your application using /// This should generally by provided somewhere in the root of your application using
/// [provide_meta_context]. /// [provide_meta_context].
#[derive(Clone, Default)] #[derive(Clone, Default, Debug)]
pub struct MetaContext { pub struct MetaContext {
pub(crate) title: TitleContext, pub(crate) title: TitleContext,
pub(crate) tags: MetaTagsContext, pub(crate) tags: MetaTagsContext,
} }
/// Manages all of the element created by components. /// Manages all of the element created by components.
#[derive(Clone, Default)] #[derive(Clone, Default, Debug)]
pub(crate) struct MetaTagsContext { pub(crate) struct MetaTagsContext {
next_id: Rc<Cell<MetaTagId>>, next_id: Rc<Cell<MetaTagId>>,
#[allow(clippy::type_complexity)] #[allow(clippy::type_complexity)]