server: cleanup lint.
This commit is contained in:
parent
d45f223d52
commit
87dfe4ace7
@ -18,7 +18,6 @@ use server::{
|
||||
error::ServerError,
|
||||
graphql::{GraphqlSchema, QueryRoot},
|
||||
};
|
||||
use shared::Message;
|
||||
|
||||
#[get("/refresh")]
|
||||
async fn refresh(nm: &State<Notmuch>) -> Result<Json<String>, Debug<NotmuchError>> {
|
||||
|
||||
@ -63,7 +63,7 @@ pub struct Message {
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct UnhandledContentType {
|
||||
pub struct UnhandledContentType {
|
||||
text: String,
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ impl UnhandledContentType {
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct PlainText {
|
||||
pub struct PlainText {
|
||||
text: String,
|
||||
}
|
||||
|
||||
@ -87,7 +87,7 @@ impl PlainText {
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct Html {
|
||||
pub struct Html {
|
||||
html: String,
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user