Skip to content

Commit

Permalink
Fix cargo fmt lint
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgi-o committed Nov 13, 2023
1 parent 56b2c98 commit 1f55006
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/async-tokio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ async fn test_sample() {

#[tokio::test]
async fn test_cancel_future() {

// represents something like a TCP socket, that receives some XML data
// every now and then
struct MockXmlSource {
Expand Down Expand Up @@ -63,10 +62,8 @@ async fn test_cancel_future() {
let mut reader = Reader::from_reader(reader);

for _ in 0..3 {

for _ in 0..3 {
let fut = async {

// read start event
let mut buf = Vec::new();
let start_event = reader.read_event_into_async(&mut buf).await.unwrap();
Expand Down

0 comments on commit 1f55006

Please sign in to comment.