mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
clippy
This commit is contained in:
parent
f91873da1b
commit
8d38bd1862
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue