Skip to content

Commit

Permalink
update clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
hkctkuy committed Jan 10, 2024
1 parent 8110daf commit a1f0ae4
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 @@ -365,7 +365,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 a1f0ae4

Please sign in to comment.