From 59e034dee9887a0f550292570f6ab0df0a3274ca Mon Sep 17 00:00:00 2001 From: Serial <69764315+Serial-ATA@users.noreply.github.com> Date: Wed, 16 Feb 2022 16:33:07 -0500 Subject: [PATCH] Make `AudioFile` a supertrait --- src/types/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/file.rs b/src/types/file.rs index 5068a4aa..1c001453 100644 --- a/src/types/file.rs +++ b/src/types/file.rs @@ -9,7 +9,7 @@ use std::io::{Read, Seek}; use std::path::Path; /// Provides various methods for interaction with a file -pub trait AudioFile { +pub trait AudioFile: Into { /// The struct the file uses for audio properties /// /// Not all formats can use [`FileProperties`] since they may contain additional information