summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-11 11:36:25 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-11 11:36:25 +0200
commit8ac7be95e660da3e67ac499410450793eaa18429 (patch)
treed6dc3a54747ef9d9ca445e2d705d25ca945a67e8 /src/model
parent998a3c44fd79eac92c375ec9e755288bc146a279 (diff)
Documentation fixes
Diffstat (limited to 'src/model')
-rw-r--r--src/model/styles.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/model/styles.rs b/src/model/styles.rs
index 54784307..334a01b8 100644
--- a/src/model/styles.rs
+++ b/src/model/styles.rs
@@ -405,8 +405,10 @@ cast_from_value! {
location: Location => Self::Location(location),
}
-/// A selector that can be used with `query`. Hopefully, this is made obsolete
-/// by a more powerful query mechanism in the future.
+/// A selector that can be used with `query`.
+///
+/// Hopefully, this is made obsolete by a more powerful query mechanism in the
+/// future.
#[derive(Clone, PartialEq, Hash)]
pub struct LocatableSelector(pub Selector);
@@ -462,6 +464,9 @@ impl Cast for LocatableSelector {
}
/// A selector that can be used with show rules.
+///
+/// Hopefully, this is made obsolete by a more powerful showing mechanism in the
+/// future.
#[derive(Clone, PartialEq, Hash)]
pub struct ShowableSelector(pub Selector);