fmt
CI / build (push) Failing after 1m56s
CI / snap (push) Has been skipped

This commit is contained in:
2026-07-22 14:36:28 +02:00
parent 48248fdf9c
commit 768e1c4f78
7 changed files with 32 additions and 47 deletions
+2 -7
View File
@@ -170,13 +170,8 @@ pub fn parse_changelog_footer(path: &Path) -> Result<(String, String), Box<dyn s
)
})?;
let mut content = String::new();
file.read_to_string(&mut content).map_err(|e| {
format!(
"Failed to read changelog '{}': {}",
path.display(),
e
)
})?;
file.read_to_string(&mut content)
.map_err(|e| format!("Failed to read changelog '{}': {}", path.display(), e))?;
// Find the last maintainer line (format: -- Name <email> Date)
let re = Regex::new(r"--\s*([^<]+?)\s*<([^>]+)>\s*")?;