mirror of https://git.sr.ht/~stygianentity/bincode
remove unused function type parameter
This commit is contained in:
parent
24b007e194
commit
5081ac7c08
|
|
@ -74,7 +74,7 @@ pub fn config() -> Config {
|
||||||
///
|
///
|
||||||
/// If the serialization would take more bytes than allowed by the size limit, an error
|
/// If the serialization would take more bytes than allowed by the size limit, an error
|
||||||
/// is returned and *no bytes* will be written into the `Writer`.
|
/// is returned and *no bytes* will be written into the `Writer`.
|
||||||
pub fn serialize_into<W, T: ?Sized, O>(writer: W, value: &T) -> Result<()>
|
pub fn serialize_into<W, T: ?Sized>(writer: W, value: &T) -> Result<()>
|
||||||
where
|
where
|
||||||
W: std::io::Write,
|
W: std::io::Write,
|
||||||
T: serde::Serialize,
|
T: serde::Serialize,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue