We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29e9630 commit 4f4ff40Copy full SHA for 4f4ff40
rust/catalyst-types/src/problem_report.rs
@@ -6,7 +6,7 @@
6
7
use std::sync::Arc;
8
9
-use orx_concurrent_vec::ConcurrentVec;
+use orx_concurrent_vec::{ConcurrentElement, ConcurrentVec};
10
11
/// The kind of problem being reported
12
#[derive(Debug, Clone)]
@@ -161,8 +161,8 @@ impl ProblemReport {
161
162
/// Gets entries from the report.
163
#[must_use]
164
- pub fn entries(&self) -> &ConcurrentVec<Entry> {
165
- &self.0.report.0
+ pub fn entries(&self) -> impl Iterator<Item = &ConcurrentElement<Entry>> {
+ self.0.report.0.iter()
166
}
167
168
/// Gets context from the report.
0 commit comments