Update tokenizers/src/utils/mod.rs

Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
This commit is contained in:
Mishig Davaadorj
2022-01-25 18:38:23 +01:00
committed by GitHub
parent 3784a04fd4
commit fa2ee839bc

View File

@ -157,7 +157,7 @@ macro_rules! impl_serde_type{
}
#[doc(hidden)]
impl std::convert::From<[<$struct_name Deserilaizer>]> for $struct_name {
impl std::convert::From<[<$struct_name Deserializer>]> for $struct_name {
fn from(v: [<$struct_name Deserilaizer>]) -> Self {
v.r#struct
}