Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
anfedotoff committed Jan 15, 2024
1 parent 3b4571f commit 4d18827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcasr/src/stacktrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl CrashLineExt for Stacktrace {
let mut trace = self.clone();
trace.filter();

let Some(crash_entry) = trace.get(0) else {
let Some(crash_entry) = trace.first() else {
return Err(Error::Casr(
"No stack trace entries after filtering".to_string(),
));
Expand Down

0 comments on commit 4d18827

Please sign in to comment.