diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-16 19:13:39 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-16 20:22:48 +0200 |
| commit | 242b01549a472d4eeca1404b8f63427e23224253 (patch) | |
| tree | 7d44ef801ce857469912a75233a1e7a1603e405e /src/model/styles.rs | |
| parent | a741bd6b83d1e374c8218b5439e26522499cc4ae (diff) | |
Safe `eval` function
Diffstat (limited to 'src/model/styles.rs')
| -rw-r--r-- | src/model/styles.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/styles.rs b/src/model/styles.rs index 928133c7..5c36861a 100644 --- a/src/model/styles.rs +++ b/src/model/styles.rs @@ -103,7 +103,8 @@ impl StyleMap { /// Mark all contained properties as _scoped_. This means that they only /// apply to the first descendant node (of their type) in the hierarchy and - /// not its children, too. This is used by [constructors](Node::construct). + /// not its children, too. This is used by + /// [constructors](crate::eval::Node::construct). pub fn scoped(mut self) -> Self { for entry in &mut self.0 { if let StyleEntry::Property(property) = entry { |
