mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-23 16:31:05 +00:00
Remove the Deserialize trait bound on Visitor::Value
This commit is contained in:
+1
-1
@@ -412,7 +412,7 @@ pub trait Deserializer {
|
||||
/// This trait represents a visitor that walks through a deserializer.
|
||||
pub trait Visitor {
|
||||
/// The value produced by this visitor.
|
||||
type Value: Deserialize;
|
||||
type Value;
|
||||
|
||||
/// `visit_bool` deserializes a `bool` into a `Value`.
|
||||
fn visit_bool<E>(&mut self, v: bool) -> Result<Self::Value, E>
|
||||
|
||||
Reference in New Issue
Block a user