Skip to content

Commit

Permalink
try to fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HTGAzureX1212 committed Nov 11, 2024
1 parent 01ca63e commit 10e3b7a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api-backend/hartex-backend-models/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ pub struct Response<T, R> {
impl<'a, T, R> Response<T, R>
where
T: Clone + Deserialize<'a>,
R: Clone + Deserialize<'a>,
{
/// Constructs a response object from a status code and data.
#[allow(clippy::missing_panics_doc)]
Expand Down Expand Up @@ -94,7 +93,6 @@ impl<T> Response<T, String> {
impl<'a, T, R> Response<T, R>
where
T: Clone + Deserialize<'a>,
R: Clone + Deserialize<'a>,
{
/// The status code of the response.
pub fn code(&self) -> u16 {
Expand Down

0 comments on commit 10e3b7a

Please sign in to comment.