fields need to be pub for tests

master
rasul 5 years ago
parent 91f6dd81d2
commit e64de60953

@ -26,12 +26,12 @@ pub struct Params {
#[derive(Debug, Template)]
#[template(path = "view.html")]
pub struct View {
id: String,
dt: String,
text_lines: Vec<String>,
index_len: usize,
site_url: String,
syntax: String,
pub id: String,
pub dt: String,
pub text_lines: Vec<String>,
pub index_len: usize,
pub site_url: String,
pub syntax: String,
}
pub fn get(mut state: State) -> Box<HandlerFuture> {

Loading…
Cancel
Save