From 8ac7be95e660da3e67ac499410450793eaa18429 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 11 May 2023 11:36:25 +0200 Subject: Documentation fixes --- src/model/styles.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/model') 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); -- cgit v1.2.3