mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-20 09:11:24 +01:00
enable dead_code lint
This commit is contained in:
parent
518d0c9cf3
commit
d7e945f4c5
17 changed files with 15 additions and 137 deletions
|
|
@ -39,6 +39,8 @@ pub(crate) trait Data: Send + Sync {
|
|||
) -> Result<()>;
|
||||
|
||||
/// Returns the private read marker.
|
||||
// TODO: Implement MSC2285
|
||||
#[allow(dead_code)]
|
||||
fn private_read_get(
|
||||
&self,
|
||||
room_id: &RoomId,
|
||||
|
|
@ -46,6 +48,8 @@ pub(crate) trait Data: Send + Sync {
|
|||
) -> Result<Option<u64>>;
|
||||
|
||||
/// Returns the count of the last typing update in this room.
|
||||
// TODO: Implement MSC2285
|
||||
#[allow(dead_code)]
|
||||
fn last_privateread_update(
|
||||
&self,
|
||||
user_id: &UserId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue