Skip to content

Commit

Permalink
fix other clippy warning about ellided lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Jan 14, 2025
1 parent efc5911 commit e5594ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/svd2rust-regress/src/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl Diffing {
Ok([baseline, current])
}

fn get_source_and_command<'s>(&'s self) -> [Option<(Source, Command)>; 2] {
fn get_source_and_command<'s>(&'s self) -> [Option<(Source<'s>, Command<'s>)>; 2] {
let split = |s: &'s str| -> (Source, Command) {
if let Some(s) = s.strip_prefix('@') {
if let Some((source, cmd)) = s.split_once(' ') {
Expand Down

0 comments on commit e5594ba

Please sign in to comment.