Fixed more compile time errors

This commit is contained in:
Timo Kösters authored and Nyaaori committed 2022-10-10 13:54:00 +02:00
1 parent 785ddfc4aa
commit bd8b616ca0
103 files changed
+1609 -2741

No files matched your search

+2 -2
View File
@@ -2,13 +2,13 @@ mod data;
pub use data::Data;
use ruma::RoomId;
use crate::service::*;
use crate::Result;
pub struct Service<D: Data> {
db: D,
}
impl Service<_> {
impl<D: Data> Service<D> {
#[tracing::instrument(skip(self))]
pub fn set_public(&self, room_id: &RoomId) -> Result<()> {
self.db.set_public(room_id)