Skip to content

Commit 84450a7

Browse files
committed
remove redundant #[source]
1 parent c8ed125 commit 84450a7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

crates/handlers/src/admin/call_context.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ pub enum Rejection {
4747

4848
/// The access token was not of the correct type for the Admin API
4949
#[error("Invalid type of access token")]
50-
InvalidAccessTokenType(
51-
#[source]
52-
#[from]
53-
Option<TokenFormatError>,
54-
),
50+
InvalidAccessTokenType(#[from] Option<TokenFormatError>),
5551

5652
/// The access token could not be found in the database
5753
#[error("Unknown access token")]

0 commit comments

Comments
 (0)