mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
apply clippy optimizations
This commit is contained in:
parent
0c08a0fb2f
commit
32d3c1b31a
3 changed files with 5 additions and 5 deletions
|
|
@ -218,7 +218,7 @@ impl Tab {
|
|||
// Save page at given `position`, `None` to save selected page (if available)
|
||||
pub fn save_as(&self, page_position: Option<i32>) {
|
||||
if let Some(item) = self.item(page_position) {
|
||||
item.page.navigation.request.into_download();
|
||||
item.page.navigation.request.to_download();
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
|
@ -226,7 +226,7 @@ impl Tab {
|
|||
// View source for page at given `position`, `None` to use selected page (if available)
|
||||
pub fn source(&self, page_position: Option<i32>) {
|
||||
if let Some(item) = self.item(page_position) {
|
||||
item.page.navigation.request.into_source();
|
||||
item.page.navigation.request.to_source();
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue