Skip to content

Commit

Permalink
obey rustfmt
Browse files Browse the repository at this point in the history
Signed-off-by: wayne warren <[email protected]>
  • Loading branch information
waynr committed Oct 2, 2023
1 parent 382d7f5 commit 867ff92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/image/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ impl From<MediaType> for String {
"application/vnd.oci.image.layer.nondistributable.v1.tar+zstd".to_string()
}
MediaType::ImageConfig => "application/vnd.oci.image.config.v1+json".to_string(),
MediaType::ArtifactManifest => "application/vnd.oci.artifact.manifest.v1+json".to_string(),
MediaType::ArtifactManifest => {
"application/vnd.oci.artifact.manifest.v1+json".to_string()
}
MediaType::EmptyJSON => "application/vnd.oci.empty.v1+json".to_string(),
MediaType::Other(media) => media.to_string(),
}
Expand Down

0 comments on commit 867ff92

Please sign in to comment.