We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91873d commit 8d38bd1Copy full SHA for 8d38bd1
src/components/filetree.rs
@@ -88,7 +88,7 @@ impl FileTreeComponent {
88
}
89
90
///
91
- pub fn file_count(&self) -> usize {
+ pub const fn file_count(&self) -> usize {
92
self.tree.tree.file_count()
93
94
src/components/utils/filetree.rs
@@ -182,7 +182,7 @@ impl FileTreeItems {
182
183
184
185
186
self.file_count
187
188
0 commit comments