Overview
| Comment: | fix typo, fix comments, drop unneeded constant |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
6ce625a56943f462036d14372b29b919 |
| User & Date: | arcade on 2026-01-12 14:46:42.278 |
| Other Links: | manifest | tags |
Context
|
2026-01-12
| ||
| 15:13 | limit number of job runs check-in: 7551b4dc28 user: arcade tags: trunk | |
| 14:46 | fix typo, fix comments, drop unneeded constant check-in: 6ce625a569 user: arcade tags: trunk | |
| 13:41 | minor typos, add back tests, change formatting a lot check-in: c996f5c871 user: arcade tags: trunk | |
Changes
Modified src/mail.rs
from [3793bdb43d]
to [7b99a09150].
| ︙ | |||
188 189 190 191 192 193 194 | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | - + |
let text = mail.body_text(0)
.context("Failed to extract text from message")?
.replace("\r\n", "\n");
// 6:
// - (headers)
// - (mail text)
// - 6: </pre>
|
| ︙ |
Modified src/tests.rs
from [4300f88482]
to [80b8bebd72].
| ︙ | |||
11 12 13 14 15 16 17 | 11 12 13 14 15 16 17 18 19 20 21 | - + - | let res = validate(html).stack()?; assert_eq!(res, html); Ok(()) } #[test] #[should_panic = "Found special tag while closing generic tag"] |
Modified src/utils.rs
from [448dd04db5]
to [a705590999].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | - + + + + |
use crate::Cursor;
use lazy_static::lazy_static;
use regex::Regex;
use scraper::Html;
use stacked_errors::{
bail,
Result,
};
lazy_static! {
|