From 2c826b31d70c68f66353306182180b843e57a34e Mon Sep 17 00:00:00 2001 From: Ariel Miculas-Trif Date: Mon, 14 Oct 2024 10:52:09 +0300 Subject: [PATCH] Minor fix in the error description comment Signed-off-by: Ariel Miculas-Trif --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 981890b..95461b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,7 +58,7 @@ pub enum Error { /// Returned when the OCI Image Index (index.json) is missing MissingImageIndex, #[error("Unexpected media type {media_type}")] - /// Returned when the OCI Image Index (index.json) is missing + /// Returned when there's an unexpected media type UnexpectedMediaType { media_type: MediaType }, #[error("error")] /// An unknown other error