server: cleanup lint.
This commit is contained in:
parent
d45f223d52
commit
87dfe4ace7
@ -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>> {
|
||||||
|
|||||||
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user