Input: Rename YTDL error variants for Clippy (#55)

This silences a clippy lint around incorrect capitalisation of acronyms, but sis a breaking API change.

This was tested using `cargo make ready`.
This commit is contained in:
Kyle Simpson
2021-04-07 13:13:02 +01:00
parent 27f26ade99
commit af2347c128
2 changed files with 5 additions and 5 deletions

View File

@@ -35,13 +35,13 @@ pub enum Error {
/// An error occurred while processing the JSON output from `youtube-dl`.
///
/// The JSON output is given.
YouTubeDLProcessing(Value),
YouTubeDlProcessing(Value),
/// An error occurred while running `youtube-dl`.
YouTubeDLRun(Output),
YouTubeDlRun(Output),
/// The `url` field of the `youtube-dl` JSON output was not present.
///
/// The JSON output is given.
YouTubeDLUrl(Value),
YouTubeDlUrl(Value),
}
impl From<CatcherError> for Error {