Code polish

- Fix some typos.
- Added more comments (and documentation) to the code.
This commit is contained in:
Malte Meiboom
2026-05-27 10:53:02 +02:00
parent 3e60bfbde4
commit 516d745f00
9 changed files with 33 additions and 17 deletions
+1
View File
@@ -108,6 +108,7 @@ use std::fmt::{Display, Formatter};
impl Display for Introducer {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
// XXX: This is unsafe as ANSI control chars are not handled.
let uids = self.cert.userids()
.map(|u| String::from_utf8_lossy(u.userid().value()).to_string())
.collect::<Vec<String>>()