From: Lizzy Fleckenstein Date: Sun, 19 Feb 2023 16:46:48 +0000 (+0100) Subject: Guarantee Send and Sync for DeserializeError X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6d2ddea09743df36c32337a05cf1364576adba68;p=mt_ser.git Guarantee Send and Sync for DeserializeError --- diff --git a/src/lib.rs b/src/lib.rs index b2aebc8..7cce3b6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,9 +52,9 @@ pub enum DeserializeError { #[error("invalid UTF-16: {0}")] InvalidUtf16(#[from] std::char::DecodeUtf16Error), #[error("invalid {0} enum variant {1:?}")] - InvalidEnum(&'static str, Box), + InvalidEnum(&'static str, Box), #[error("invalid constant - wanted: {0:?} - got: {1:?}")] - InvalidConst(Box, Box), + InvalidConst(Box, Box), #[error("{0}")] Other(String), }