Skip to content

Commit 096b9d0

Browse files
committed
refactor(fmt): Run formatter
1 parent 46da4d3 commit 096b9d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/cipher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ mod tests {
118118
constants::test::ENCRYPTION_KEY,
119119
);
120120
let key = get_encryption_key();
121-
121+
122122
assert_eq!(key.as_slice().len(), constants::env::ENCRYPTION_KEY_LENGTH);
123123
assert_eq!(key.as_slice(), constants::test::ENCRYPTION_KEY.as_bytes());
124-
124+
125125
std::env::remove_var(constants::env::ENCRYPTION_KEY);
126126
}
127127

src/response.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use rocket::{Request, Response};
77

88
/// A type alias for API results, which can either be a successful response of type `R`
99
/// or an [`ApiError`]. Type `R` **must** implement the [`Serialize`] trait.
10-
///
11-
/// The default type for `R` is [`ApiResponse`].
10+
///
11+
/// The default type for `R` is [`ApiResponse`].
1212
/// This type should be used when `R` is returned by a route handler.
1313
pub(crate) type ApiResult<R = ApiResponse> = Result<R, ApiError>;
1414

0 commit comments

Comments
 (0)