Add function and prefer .iter()

This commit is contained in:
Tobias Reisinger 2022-07-17 20:19:36 +02:00
parent 53c6fcd917
commit e3adc35221
12 changed files with 117 additions and 67 deletions
src/handlers

View file

@ -21,7 +21,7 @@ impl Serialize for EmgauwaJsonPayLoadError {
"description",
&match self {
EmgauwaJsonPayLoadError::Error(err) => format!("{}", err),
}
},
)?;
s.end()
}