mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-22 02:12:58 +03:00
clippy
This commit is contained in:
parent
f91873da1b
commit
8d38bd1862
@ -88,7 +88,7 @@ impl FileTreeComponent {
|
||||
}
|
||||
|
||||
///
|
||||
pub fn file_count(&self) -> usize {
|
||||
pub const fn file_count(&self) -> usize {
|
||||
self.tree.tree.file_count()
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@ impl FileTreeItems {
|
||||
}
|
||||
|
||||
///
|
||||
pub fn file_count(&self) -> usize {
|
||||
pub const fn file_count(&self) -> usize {
|
||||
self.file_count
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user