Skip to content

Commit 1a377ce

Browse files
authored
Merge pull request #582 from justahero/sebastian/rename-json-error-enum-variant
Rename variant to match enum type
2 parents 9322b90 + e8ef79b commit 1a377ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclonedx-bom/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub enum XmlWriteError {
6464
#[non_exhaustive]
6565
pub enum JsonReadError {
6666
#[error("Failed to deserialize JSON: {error}")]
67-
JsonElementWriteError {
67+
JsonElementReadError {
6868
#[from]
6969
error: serde_json::Error,
7070
},

0 commit comments

Comments
 (0)