diff options
Diffstat (limited to 'src/http/render.rs')
| -rw-r--r-- | src/http/render.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/render.rs b/src/http/render.rs index fdf5676..470125d 100644 --- a/src/http/render.rs +++ b/src/http/render.rs @@ -179,7 +179,8 @@ pub(crate) struct SubRow { #[derive(Template)] #[template(path = "attention.html")] -pub struct Attention { +/// `pub(crate)`, not `pub`: the census counted it as test-only because the word appears in `tests/http.rs`, but only inside a string — a route path, a content type, the word "redirect" in an assertion message. Nothing in the test tier calls it. +pub(crate) struct Attention { pub page: Page, pub empty: bool, pub notices: Vec<NoticeRow>, |
