Skip to content

Commit

Permalink
Merge pull request #66 from AkiyukiOkayasu/develop
Browse files Browse the repository at this point in the history
clippy: needless lifetime
  • Loading branch information
AkiyukiOkayasu authored Dec 2, 2024
2 parents dba99d8 + 91aca65 commit 6fc9239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ arbitrary-int = { version = "1.2.7", default-features = false }
fixed = "1.28.0"
heapless = "0.8.0"
nom = { version = "7.1.3", default-features = false }
thiserror = { version = "2.0.0", default-features = false }
thiserror = { version = "2.0.3", default-features = false }

[dev-dependencies]
cpal = "0.15.3"
Expand Down
2 changes: 1 addition & 1 deletion src/aiff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ enum AiffError {

/// AiffErrorをnom::Errに変換する
/// 変換時に情報が失われてしまう。とりあえずnom::error::ErrorKind::Failとしたが、IResultを使わずに実装できるか検討したい
impl<'a> From<AiffError> for nom::Err<nom::error::Error<&'a [u8]>> {
impl From<AiffError> for nom::Err<nom::error::Error<&[u8]>> {
fn from(_err: AiffError) -> Self {
nom::Err::Error(nom::error::Error::new(&[], nom::error::ErrorKind::Fail))
}
Expand Down

0 comments on commit 6fc9239

Please sign in to comment.