🚨 Fix some clippy warnings
This commit is contained in:
@@ -30,6 +30,8 @@ pub struct Store {
|
||||
#[derive(Clone)]
|
||||
pub struct Room {
|
||||
store: RefCell<Store>,
|
||||
|
||||
#[allow(dead_code)]
|
||||
domain: Rc<dyn RoomStoreConsumerInterface>,
|
||||
}
|
||||
|
||||
@@ -52,6 +54,7 @@ impl Room {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub async fn get_avatar(&self) -> Option<Avatar> {
|
||||
self.domain.avatar().await
|
||||
}
|
||||
|
@@ -20,6 +20,8 @@ pub struct Store {
|
||||
#[derive(Clone)]
|
||||
pub struct Space {
|
||||
store: RefCell<Store>,
|
||||
|
||||
#[allow(dead_code)]
|
||||
domain: Rc<dyn SpaceStoreConsumerInterface>,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user