- Remove use-statement from previous commit.

- Add changelog entry.
This commit is contained in:
Matt Sullivan
2023-04-21 18:32:26 +02:00
committed by Robin Krahl
parent a3ec29efba
commit 8019e8ad6d
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## Fixed
- Fixed macro hygiene for `path!`.
- Fixed build error that would occur on Windows systems.
## [v0.4.0] - 2023-02-07
+1 -2
View File
@@ -5,7 +5,6 @@ use core::{cell::RefCell, cmp, mem, slice};
use bitflags::bitflags;
use generic_array::typenum::marker_traits::Unsigned;
use littlefs2_sys as ll;
use ll::lfs_type;
use serde::{Deserialize, Serialize};
// so far, don't need `heapless-bytes`.
@@ -209,7 +208,7 @@ impl Metadata
impl From<ll::lfs_info> for Metadata
{
fn from(info: ll::lfs_info) -> Self {
let file_type = match info.type_ as lfs_type {
let file_type = match info.type_ as ll::lfs_type {
ll::lfs_type_LFS_TYPE_DIR => FileType::Dir,
ll::lfs_type_LFS_TYPE_REG => FileType::File,
_ => { unreachable!(); }