This commit is contained in:
Tianyi 2020-10-26 23:19:49 +00:00
parent 0f4d6eeab5
commit b4f2ae38ef
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "audiotags"
version = "0.2.0"
version = "0.2.1"
authors = ["Tianyi <ShiTianyi2001@outlook.com>"]
edition = "2018"
description = "Unified IO for different types of audio metadata"

View file

@ -97,7 +97,7 @@ impl<'a> From<AnyTag<'a>> for id3::Tag {
}
impl<'a> std::convert::TryFrom<&'a id3::frame::Picture> for Picture<'a> {
type Error = crate::crate::Error;
type Error = crate::Error;
fn try_from(inp: &'a id3::frame::Picture) -> crate::Result<Self> {
let &id3::frame::Picture {
ref mime_type,
@ -113,7 +113,7 @@ impl<'a> std::convert::TryFrom<&'a id3::frame::Picture> for Picture<'a> {
}
impl<'a> std::convert::TryFrom<id3::frame::Picture> for Picture<'a> {
type Error = crate::crate::Error;
type Error = crate::Error;
fn try_from(inp: id3::frame::Picture) -> crate::Result<Self> {
let id3::frame::Picture {
mime_type, data, ..