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 38a6395 commit 647fd36Copy full SHA for 647fd36
crates/pgt_suppressions/src/line_index.rs
@@ -38,6 +38,6 @@ impl LineIndex {
38
None
39
}
40
})
41
- .last()
+ .next_back()
42
43
crates/pgt_suppressions/src/parser.rs
@@ -123,7 +123,7 @@ impl<'a> SuppressionsParser<'a> {
123
124
125
126
- .last();
+ .next_back();
127
128
if let Some(start_idx) = matching_start_idx {
129
let start = self.start_suppressions_stack.remove(start_idx);
0 commit comments