This commit is contained in:
galister
2025-10-31 17:33:38 +09:00
parent fa562f7b12
commit 67017a9f54
21 changed files with 30 additions and 39 deletions

View File

@@ -34,10 +34,10 @@ pub enum Positioning {
}
impl Positioning {
pub fn moves_with_space(&self) -> bool {
pub const fn moves_with_space(&self) -> bool {
matches!(
self,
Positioning::Floating | Positioning::Anchored | Positioning::Static
Self::Floating | Self::Anchored | Self::Static
)
}
}