summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-20 10:04:49 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-20 10:04:49 +0200
commitc9b72aaa84bdd5f67283889a907c8416a853b73c (patch)
treec8dcefcc7efab17b29c7ce4716ed5c73230288f2 /src/model
parentfcce3df093d0141c677608a74c25ea0d413c5050 (diff)
More highlighting API
Diffstat (limited to 'src/model')
-rw-r--r--src/model/property.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/property.rs b/src/model/property.rs
index ff686970..a0a71ddc 100644
--- a/src/model/property.rs
+++ b/src/model/property.rs
@@ -131,13 +131,13 @@ impl Debug for KeyId {
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
- /// [`STRONG`](crate::library::text::TextNode::STRONG) property.
+ /// [`BOLD`](crate::library::text::TextNode::BOLD) property.
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
- /// [`STRONG`](crate::library::text::TextNode::STRONG) property. For
- /// non-copy, non-folding properties this is a reference type.
+ /// [`BOLD`](crate::library::text::TextNode::BOLD) property. For non-copy,
+ /// non-folding properties this is a reference type.
type Output;
/// The name of the property, used for debug printing.