Skip to content

Commit

Permalink
Use the current_thread scheduler in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
tevoinea committed Sep 12, 2023
1 parent 79f472b commit 75d9f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/writer/async_tokio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl<W: AsyncWrite + Unpin> Writer<W> {
///
/// ```rust
/// # use quick_xml::Result;
/// # #[tokio::main] async fn main() -> Result<()> {
/// # #[tokio::main(flavor = "current_thread")] async fn main() -> Result<()> {
/// use quick_xml::events::{BytesStart, BytesText, Event};
/// use quick_xml::writer::Writer;
/// use quick_xml::Error;
Expand Down

0 comments on commit 75d9f5c

Please sign in to comment.