Skip to content

Commit

Permalink
clippy --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBiscardi committed Apr 4, 2024
1 parent a861824 commit 225bc26
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/atom_feed.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
use crate::state::AppState;
use atom_syndication::*;
use axum::{
extract::{Path, State},
http::{header, Request},
response::{IntoResponse, Response},
routing::get,
extract::{State},
http::{header},
response::{IntoResponse},
};
use serde::{Deserialize, Serialize};

pub async fn atom_feed(
State(app_state): State<AppState>,
) -> impl IntoResponse {
use atom_syndication::Feed;
use std::fs::File;
use std::io::{sink, BufReader};



let issues: Vec<SqlIssueShort> = sqlx::query_as!(
SqlIssueShort,
Expand Down Expand Up @@ -53,7 +52,7 @@ if Some(date) > newest_issue_date {
Some( EntryBuilder::default()
.title(issue.display_name.clone())
.id(format!("https://thisweekinbevy.com/issue/{}", issue.slug))
.updated(date.clone())
.updated(date)
.author(
Person {
name: "Chris Biscardi".to_string(),
Expand Down

0 comments on commit 225bc26

Please sign in to comment.