Skip to content

Commit

Permalink
fix: improve readability
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Nguyen <[email protected]>
  • Loading branch information
mikeee authored Mar 20, 2024
1 parent 4cfdc8f commit d21290e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pubsub/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
)
.await?;

// sleep for 2 secs to simulate delay b/w two events
// sleep for 2 seconds to simulate delay between two events
tokio::time::sleep(Duration::from_secs(2)).await;
}
println!("messages published");
Expand Down

0 comments on commit d21290e

Please sign in to comment.