fix Writer / remove [where Debug]
This commit is contained in:
parent
f361a35b65
commit
7c27a20ebd
@ -56,7 +56,7 @@ where
|
|||||||
|
|
||||||
impl<T> Writer<T>
|
impl<T> Writer<T>
|
||||||
where
|
where
|
||||||
T: bincode::Encode + std::fmt::Debug,
|
T: bincode::Encode,
|
||||||
{
|
{
|
||||||
pub fn new<P: AsRef<Path>>(path: P, opts: WriterOpts) -> Result<Self, String> {
|
pub fn new<P: AsRef<Path>>(path: P, opts: WriterOpts) -> Result<Self, String> {
|
||||||
let out = fs::File::create(path).str_err()?;
|
let out = fs::File::create(path).str_err()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user