mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Lint rust files
This commit is contained in:
parent
3ab76006af
commit
3778b2148c
@ -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> {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user