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 258aead commit 29e9630Copy full SHA for 29e9630
rust/catalyst-types/src/problem_report.rs
@@ -81,11 +81,13 @@ pub struct Entry {
81
82
impl Entry {
83
/// Gets the kind of the problem of the entry.
84
+ #[must_use]
85
pub fn kind(&self) -> &Kind {
86
&self.kind
87
}
88
89
/// Gets extra information of the entry.
90
91
pub fn context(&self) -> &String {
92
&self.context
93
@@ -158,11 +160,13 @@ impl ProblemReport {
158
160
159
161
162
/// Gets entries from the report.
163
164
pub fn entries(&self) -> &ConcurrentVec<Entry> {
165
&self.0.report.0
166
167
168
/// Gets context from the report.
169
170
171
&self.0.context
172
0 commit comments