have LangItemError derive everything LangItem does

This commit is contained in:
Nathan Stocks 2022-08-24 17:06:18 -06:00
parent 6cdfdd02f6
commit 82d609c8df

View File

@ -1,5 +1,6 @@
use crate::LangItem; use crate::LangItem;
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Encodable, Decodable)]
pub struct LangItemError(pub LangItem); pub struct LangItemError(pub LangItem);
impl ToString for LangItemError { impl ToString for LangItemError {