diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-25 12:01:23 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-25 12:01:23 -0400 |
| commit | fe99056b24034f59516b4da67cab756a05895e8e (patch) | |
| tree | 5aebeaaecec63232c88e478fd92450cf57fd1ca5 /src/clock.rs | |
| parent | 674a50f84b6fd94fa7d677261a0c8c95ad7f7526 (diff) | |
Re-wrap comments.
Diffstat (limited to 'src/clock.rs')
| -rw-r--r-- | src/clock.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/clock.rs b/src/clock.rs index 81ecede..4774613 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -8,10 +8,10 @@ use chrono::Utc; pub type DateTime = chrono::DateTime<chrono::Utc>; -// Extractor that provides the "current time" for a request. This time is calculated -// once per request, even if the extractor is used in multiple places. This requires -// the [middleware] function to be installed with [axum::middleware::from_fn] around -// the current route. +// Extractor that provides the "current time" for a request. This time is +// calculated once per request, even if the extractor is used in multiple +// places. This requires the [middleware] function to be installed with +// [axum::middleware::from_fn] around the current route. #[derive(Clone)] pub struct RequestedAt(pub DateTime); |
