server: cleanup lint.

This commit is contained in:
Bill Thiede 2023-11-26 21:31:06 -08:00
parent d45f223d52
commit 87dfe4ace7
2 changed files with 3 additions and 4 deletions

View File

@ -18,7 +18,6 @@ use server::{
error::ServerError, error::ServerError,
graphql::{GraphqlSchema, QueryRoot}, graphql::{GraphqlSchema, QueryRoot},
}; };
use shared::Message;
#[get("/refresh")] #[get("/refresh")]
async fn refresh(nm: &State<Notmuch>) -> Result<Json<String>, Debug<NotmuchError>> { async fn refresh(nm: &State<Notmuch>) -> Result<Json<String>, Debug<NotmuchError>> {

View File

@ -63,7 +63,7 @@ pub struct Message {
} }
#[derive(Debug)] #[derive(Debug)]
struct UnhandledContentType { pub struct UnhandledContentType {
text: String, text: String,
} }
@ -75,7 +75,7 @@ impl UnhandledContentType {
} }
#[derive(Debug)] #[derive(Debug)]
struct PlainText { pub struct PlainText {
text: String, text: String,
} }
@ -87,7 +87,7 @@ impl PlainText {
} }
#[derive(Debug)] #[derive(Debug)]
struct Html { pub struct Html {
html: String, html: String,
} }