This commit is contained in:
Stephan Dilly 2020-06-09 17:49:56 +02:00
parent f91873da1b
commit 8d38bd1862
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ impl FileTreeComponent {
}
///
pub fn file_count(&self) -> usize {
pub const fn file_count(&self) -> usize {
self.tree.tree.file_count()
}

View File

@ -182,7 +182,7 @@ impl FileTreeItems {
}
///
pub fn file_count(&self) -> usize {
pub const fn file_count(&self) -> usize {
self.file_count
}