Skip to content

Commit

Permalink
Fixed clippy linting
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Dec 23, 2024
1 parent dd9f0bb commit b4d7522
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/controllers/api_doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ use actix_web::dev::{Service, ServiceRequest, ServiceResponse, Transform};
use actix_web::HttpResponse;
use futures::future::LocalBoxFuture;
use models::itunes_models::ItunesModel;
use models::podcasts::Podcast;
use std::future;
use std::future::Ready;
use utoipa::{
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/podcast_episode_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub async fn get_timeline(
.iter()
.map(|podcast_episode| {
let (podcast_episode, podcast, history, favorite) = podcast_episode.clone();
let mapped_podcast_episode: PodcastEpisodeDto = podcast_episode.clone().into();
let mapped_podcast_episode: PodcastEpisodeDto = podcast_episode.clone();
let podcast: PodcastDto = podcast.clone();

TimeLinePodcastEpisode {
Expand Down
1 change: 0 additions & 1 deletion src/models/podcasts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ use diesel::QueryDsl;
use diesel::{
delete, insert_into, BoolExpressionMethods, JoinOnDsl, OptionalExtension, RunQueryDsl,
};
use utoipa::ToSchema;

use crate::utils::error::{map_db_error, CustomError};
#[derive(
Expand Down

0 comments on commit b4d7522

Please sign in to comment.