More lint

This commit is contained in:
Bill Thiede 2025-01-24 09:38:56 -08:00
parent c58234fa2e
commit de95781ce7
3 changed files with 0 additions and 3 deletions

View File

@ -1,4 +1,3 @@
use chrono::NaiveDateTime;
use clap::Parser;
use letterbox_server::mail::read_mail_to_db;
use sqlx::postgres::PgPool;

View File

@ -189,7 +189,6 @@ pub async fn thread(
let slug = r.site.unwrap_or("no-slug".to_string());
let site = r.name.unwrap_or("NO SITE".to_string());
let default_homepage = "http://no-homepage";
// TODO: remove the various places that have this as an Option
let link = Some(Url::parse(&r.link)?);
let mut body = r.summary.unwrap_or("NO SUMMARY".to_string());

View File

@ -9,7 +9,6 @@ use log::{error, info, warn};
use mailparse::{parse_content_type, parse_mail, MailHeader, MailHeaderMap, ParsedMail};
use memmap::MmapOptions;
use notmuch::Notmuch;
use rocket::http::uri::error::PathError;
use sqlx::PgPool;
use tracing::instrument;