This commit is contained in:
2023-06-06 22:47:00 +02:00
parent b902e5f488
commit 8f8f092737
3 changed files with 14 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
use core::fmt::Debug;
use std::str::FromStr;
use moka::future::Cache;
@@ -114,8 +115,8 @@ async fn generic_search_pagination_handler<T, P, Fut>(
user_langs_cache: Cache<UserId, Vec<String>>,
) -> BotHandlerInternal
where
T: Format + Clone,
P: FormatTitle + Clone,
T: Format + Clone + Debug,
P: FormatTitle + Clone + Debug,
Fut: std::future::Future<Output = Result<Page<T, P>, Box<dyn std::error::Error + Send + Sync>>>,
{
let chat_id = cq.chat_id();