some more sanity improvements

This commit is contained in:
Milim 2024-08-15 10:45:45 +02:00
parent 05b6dfda86
commit b0ed41ef70
No known key found for this signature in database
6 changed files with 15 additions and 10 deletions

View file

@ -11,7 +11,7 @@ use crate::config::Style;
pub struct SearchParams {
/// It stores the search parameter option `q` (or query in simple words)
/// of the search url.
pub query: Option<String>,
pub q: Option<String>,
/// It stores the search parameter `page` (or pageno in simple words)
/// of the search url.
pub page: Option<u32>,