mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Optimize
This commit is contained in:
@@ -69,8 +69,8 @@ impl GetPaginationCallbackData for UpdateLogCallbackData {
|
||||
fn get_pagination_callback_data(&self, target_page: u32) -> String {
|
||||
let UpdateLogCallbackData { from, to, .. } = self;
|
||||
UpdateLogCallbackData {
|
||||
from: from.clone(),
|
||||
to: to.clone(),
|
||||
from: *from,
|
||||
to: *to,
|
||||
page: target_page,
|
||||
}
|
||||
.to_string()
|
||||
|
||||
Reference in New Issue
Block a user