You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now sxd_document::writer::format_document requires a Sized writer.
Using it with &mut Write produces a error:
src/crates/by_ad/../../by_ad.rs:901:3: 901:40 error: the trait `core::marker::Sized` is not implemented for the type `std::io::Write`
src/crates/by_ad/../../by_ad.rs:901 sxd_document::writer::format_document (&doc, out);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/crates/by_ad/../../by_ad.rs:901:3: 901:40 `std::io::Write` does not have a constant size known at compile-time
src/crates/by_ad/../../by_ad.rs:901 sxd_document::writer::format_document (&doc, out);
Right now
sxd_document::writer::format_document
requires aSized
writer.Using it with
&mut Write
produces a error:(The code is along these lines:)
Could you make the
W
unsized (?Sized
)?The text was updated successfully, but these errors were encountered: