diff --git a/src/dc_utils/context.rs b/src/dc_utils/context.rs index fc24f73..2308ab9 100644 --- a/src/dc_utils/context.rs +++ b/src/dc_utils/context.rs @@ -8,7 +8,6 @@ pub trait ContextAddon { } /// a trait for `reply` - impl ContextAddon for Context<'_> { async fn typing(&self) -> MyTyping { match self { diff --git a/src/structs/user_search_history.rs b/src/structs/user_search_history.rs index a0ea729..26932b5 100644 --- a/src/structs/user_search_history.rs +++ b/src/structs/user_search_history.rs @@ -38,7 +38,7 @@ impl SearchCache { self.users.get(user_id) } - /// search in cache first then disk, insert if no cache + // /// search in cache first then disk, insert if no cache // pub async fn get_or_insert(&mut self, user_id: &UserId, f: F) -> &UserSearchCache // where // F: FnOnce() -> UserSearchCache,