This commit is contained in:
Robin Appelman 2024-07-28 16:17:19 +02:00
commit 6d4ec29d43
5 changed files with 40 additions and 23 deletions

View file

@ -15,7 +15,7 @@ impl StatementList {
StatementList { statements }
}
pub fn iter(&self) -> impl Iterator<Item = &'static LoggingStatement> + '_ {
pub fn iter(&self) -> impl Iterator<Item = &'static LoggingStatement> + Send + '_ {
self.statements
.iter()
.copied()