From 66030ae5d73d85a0463562230b87f8ec7554c746 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 18 Oct 2022 10:02:52 +0200 Subject: Small fixes --- src/model/property.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/model') diff --git a/src/model/property.rs b/src/model/property.rs index ed2ab1d0..4b9342ab 100644 --- a/src/model/property.rs +++ b/src/model/property.rs @@ -133,15 +133,11 @@ impl Debug for KeyId { /// This trait is not intended to be implemented manually, but rather through /// the `#[node]` proc-macro. pub trait Key<'a>: Copy + 'static { - /// The unfolded type which this property is stored as in a style map. For - /// example, this is [`Toggle`](crate::geom::Length) for the - /// [`BOLD`](crate::library::text::TextNode::BOLD) property. + /// The unfolded type which this property is stored as in a style map. type Value: Debug + Clone + Hash + Sync + Send + 'static; /// The folded type of value that is returned when reading this property - /// from a style chain. For example, this is [`bool`] for the - /// [`BOLD`](crate::library::text::TextNode::BOLD) property. For non-copy, - /// non-folding properties this is a reference type. + /// from a style chain. type Output; /// The name of the property, used for debug printing. -- cgit v1.2.3