summaryrefslogtreecommitdiff
path: root/src/model/property.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-06-13 23:16:40 +0200
committerLaurenz <laurmaedje@gmail.com>2022-06-14 13:53:02 +0200
commitc81e2a5f56eb262663f292578c683fba7f18251f (patch)
tree6c045a8dcbec5e75e01a15f970ef8cee6ff042d0 /src/model/property.rs
parent891af17260a6750a74a102388a05e59cf1ffc3c1 (diff)
Many fixes
Diffstat (limited to 'src/model/property.rs')
-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 a0a71ddc..0e171939 100644
--- a/src/model/property.rs
+++ b/src/model/property.rs
@@ -18,7 +18,7 @@ pub struct Property {
pub key: KeyId,
/// The id of the node the property belongs to.
pub node: NodeId,
- /// Whether the property should only affects the first node down the
+ /// Whether the property should only affect the first node down the
/// hierarchy. Used by constructors.
pub scoped: bool,
/// The property's value.
@@ -143,10 +143,10 @@ pub trait Key<'a>: Copy + 'static {
/// The name of the property, used for debug printing.
const NAME: &'static str;
- /// The ids of the key and of the node the key belongs to.
+ /// The id of the node the key belongs to.
fn node() -> NodeId;
- /// Compute an output value from a sequence of values belong to this key,
+ /// Compute an output value from a sequence of values belonging to this key,
/// folding if necessary.
fn get(
chain: StyleChain<'a>,