mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-29 04:57:54 +00:00
Port serde2 to std::io, which cuts the speed by 26% :(
This commit is contained in:
+2
-3
@@ -19,9 +19,8 @@ pub trait Serializer {
|
||||
type Value;
|
||||
type Error;
|
||||
|
||||
fn visit<
|
||||
T: Serialize,
|
||||
>(&mut self, value: &T) -> Result<Self::Value, Self::Error>;
|
||||
fn visit<T>(&mut self, value: &T) -> Result<Self::Value, Self::Error>
|
||||
where T: Serialize;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user