Remove unnecessary Arc<Self>

This commit is contained in:
hodasemi 2024-05-18 07:23:59 +02:00
parent 7a40050799
commit 149f58169f

View file

@ -306,7 +306,7 @@ impl Button {
}
}
pub fn select(self: &Arc<Self>) -> Result<()> {
pub fn select(&self) -> Result<()> {
self.selectable.select()
}