Skip to content

Commit

Permalink
chore: fix a couple of clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cylewitruk committed Apr 4, 2024
1 parent af219e1 commit 2b24915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Image {
let headers = opts
.auth_header()
.map(|auth| Headers::single(AUTH_HEADER, auth))
.unwrap_or_else(Headers::default);
.unwrap_or_default();

self.docker
.post_string(&ep, Payload::empty(), Some(headers))
Expand Down
2 changes: 1 addition & 1 deletion src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub mod swarm;
#[cfg_attr(docsrs, doc(cfg(feature = "swarm")))]
pub mod task;

pub use {container::*, exec::*, image::*, network::*, system::*, volume::*};
pub use {container::*, exec::*, image::*, network::*, volume::*};

#[cfg(feature = "swarm")]
#[cfg_attr(docsrs, doc(cfg(feature = "swarm")))]
Expand Down

0 comments on commit 2b24915

Please sign in to comment.