Skip to content

Commit

Permalink
fix clippy complain
Browse files Browse the repository at this point in the history
  • Loading branch information
B-2U committed Jan 11, 2025
1 parent b0881ad commit 94cca1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/dc_utils/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pub trait ContextAddon {
}

/// a trait for `reply`
impl ContextAddon for Context<'_> {
async fn typing(&self) -> MyTyping {
match self {
Expand Down
2 changes: 1 addition & 1 deletion src/structs/user_search_history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<F>(&mut self, user_id: &UserId, f: F) -> &UserSearchCache
// where
// F: FnOnce() -> UserSearchCache,
Expand Down

0 comments on commit 94cca1d

Please sign in to comment.