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 85d32e6 commit 2c557b0Copy full SHA for 2c557b0
examples/list_dir.rs
@@ -76,12 +76,11 @@ fn list_dir(
76
""
77
}
78
);
79
- if entry.attributes.is_directory() {
80
- if entry.name != embedded_sdmmc::ShortFileName::parent_dir()
81
- && entry.name != embedded_sdmmc::ShortFileName::this_dir()
82
- {
83
- children.push(entry.name.clone());
84
- }
+ if entry.attributes.is_directory()
+ && entry.name != embedded_sdmmc::ShortFileName::parent_dir()
+ && entry.name != embedded_sdmmc::ShortFileName::this_dir()
+ {
+ children.push(entry.name.clone());
85
86
})?;
87
for child_name in children {
0 commit comments