Automated code cleanup

This commit is contained in:
Anthony Oteri
2023-09-26 22:56:36 -04:00
parent e83cdef39c
commit 2e10f9b5f7
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -163,10 +163,10 @@ pub fn parse_response_status(response: &reqwest::Response) -> Result<(), ApiErro
#[cfg(test)]
mod tests {
use super::*;
use http::header::HeaderValue;
use super::*;
/// Test parsing a valid RFC5988 header value.
///
/// Attempt to parse a valid RFC5988 header value, and ensure that the
+1 -1
View File
@@ -199,7 +199,7 @@ mod tests {
cli.command,
Commands::Show {
image: String::from("foo"),
tag: None
tag: None,
}
);
}
+2 -1
View File
@@ -16,8 +16,9 @@
#![deny(clippy::pedantic)]
use clap::Parser;
use std::io::{self, Write};
use clap::Parser;
use url::Url;
use crate::cli::Cli;