diff options
Diffstat (limited to 'src/clock.rs')
| -rw-r--r-- | src/clock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clock.rs b/src/clock.rs index 4774613..9ffef82 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -32,7 +32,7 @@ where // This is purely for ergonomics: it allows `RequestedAt` to be extracted // without having to wrap it in `Extension<>`. Callers _can_ still do that, // but they aren't forced to. - let Extension(requested_at) = Extension::<Self>::from_request_parts(parts, state).await?; + let Extension(requested_at) = Extension::from_request_parts(parts, state).await?; Ok(requested_at) } |
