Skip to content

Commit

Permalink
Made error message code in serialize_tuple_struct more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
Schuwi committed Jun 17, 2020
1 parent 4d032bd commit f157196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ where
"__hematite_nbt_i8_array__" => self.write_header(0x07)?,
"__hematite_nbt_i32_array__" => self.write_header(0x0b)?,
"__hematite_nbt_i64_array__" => self.write_header(0x0c)?,
_ => return Err(Error::UnrepresentableType(stringify!(tuple_struct))),
_ => return Err(Error::UnrepresentableType("tuple struct")),
}

Ok(NoOp)
Expand Down

0 comments on commit f157196

Please sign in to comment.