Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hlbarber committed Apr 9, 2024
1 parent b324339 commit 241af5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rate_limit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
//!
//! # #[tokio::main]
//! # async fn main() {
//! let svc = service_fn(|x: u32| async move { x.to_string() }).rate_limit(Duration::from_secs(1), 5);
//! let svc =
//! service_fn(|x: u32| async move { x.to_string() }).rate_limit(Duration::from_secs(1), 5);
//! let response = svc.oneshot(1).await;
//! # let _ = response;
//! # }
Expand Down

0 comments on commit 241af5c

Please sign in to comment.