Lint rust files

This commit is contained in:
Zoe Roux 2023-04-25 22:00:52 +09:00
parent 3ab76006af
commit 3778b2148c
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View File

@ -34,8 +34,7 @@ pub struct Chapter {
/// The end time of the chapter (in second from the start of the episode).
end: f32,
/// The name of this chapter. This should be a human-readable name that could be presented to the user.
name: String
// TODO: add a type field for Opening, Credits...
name: String, // TODO: add a type field for Opening, Credits...
}
pub fn identify(_path: String) -> Result<MediaInfo, std::io::Error> {

View File

@ -10,7 +10,7 @@ use error::ApiError;
use utoipa::OpenApi;
use crate::{
identify::{identify, MediaInfo, Track, Chapter},
identify::{identify, Chapter, MediaInfo, Track},
transcode::{Quality, Transcoder},
};
mod error;