mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-12-13 22:22:31 +00:00
fmt
This commit is contained in:
parent
6325665ab2
commit
3d26e34514
1 changed files with 1 additions and 2 deletions
|
@ -4,8 +4,7 @@ use std::path::Path;
|
||||||
|
|
||||||
use hound::WavReader;
|
use hound::WavReader;
|
||||||
use lofty::iff::WavFile;
|
use lofty::iff::WavFile;
|
||||||
use lofty::AudioFile;
|
use lofty::{AudioFile, Result};
|
||||||
use lofty::Result;
|
|
||||||
|
|
||||||
fn get_properties(path: &Path) -> Result<<lofty::iff::WavFile as AudioFile>::Properties> {
|
fn get_properties(path: &Path) -> Result<<lofty::iff::WavFile as AudioFile>::Properties> {
|
||||||
let mut f = File::open(path).unwrap();
|
let mut f = File::open(path).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue