| 390 | } |
| 391 | } |
| 392 | struct StringVisitor<A: IAlloc>(core::marker::PhantomData<crate::alloc::string::String<A>>); |
| 393 | impl<'a, Alloc: IAlloc + Default> Visitor<'a> for StringVisitor<Alloc> { |
| 394 | type Value = String<Alloc>; |
| 395 | fn visit_str<E: Error>(self, v: &str) -> Result<Self::Value, E> { |