mirror of
https://github.com/orhun/kmon
synced 2024-06-29 06:24:54 +00:00
refactor: Apply clippy suggestions
This commit is contained in:
parent
c540d0ffa1
commit
66d775b21c
|
@ -138,7 +138,7 @@ impl KernelModules<'_> {
|
|||
if self.args.reverse {
|
||||
module_list.reverse();
|
||||
}
|
||||
self.default_list = module_list.clone();
|
||||
self.default_list.clone_from(&module_list);
|
||||
self.list = module_list;
|
||||
self.scroll_list(ScrollDirection::Top);
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in New Issue
Block a user