mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
Update tokenizers/src/utils/mod.rs
Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user