Fix nostd build

This commit is contained in:
Rafał Harabień 2018-06-04 22:41:38 +02:00
parent 808d58dff7
commit 21b51af6d5

View File

@ -105,6 +105,7 @@ impl DirFileEntryData {
&self.name
}
#[cfg(feature = "alloc")]
fn lowercase_name(&self) -> String {
let mut name_copy: [u8; 11] = self.name;
if self.lowercase_basename() {