Fix builds.
This commit is contained in:
parent
94aeab1015
commit
7c4e751d33
@ -137,6 +137,7 @@ impl<'de> Visitor<'de> for DynamicVisitor {
|
|||||||
fn visit_string<E: Error>(self, v: String) -> Result<Self::Value, E> {
|
fn visit_string<E: Error>(self, v: String) -> Result<Self::Value, E> {
|
||||||
Ok(v.into())
|
Ok(v.into())
|
||||||
}
|
}
|
||||||
|
#[cfg(not(feature = "no_index"))]
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn visit_bytes<E: Error>(self, v: &[u8]) -> Result<Self::Value, E> {
|
fn visit_bytes<E: Error>(self, v: &[u8]) -> Result<Self::Value, E> {
|
||||||
Ok(Dynamic::from_blob(v.to_vec()))
|
Ok(Dynamic::from_blob(v.to_vec()))
|
||||||
|
Loading…
Reference in New Issue
Block a user