Skip to content

Commit

Permalink
Explicit lifecycle that can be omitted
Browse files Browse the repository at this point in the history
  • Loading branch information
binlingyu authored and bootandy committed Jun 17, 2024
1 parent e78690e commit 1ffda38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ mod tests {
}

#[cfg(test)]
fn build_draw_data<'a>(disp: &'a DisplayData, size: u32) -> (DrawData<'a>, DisplayNode) {
fn build_draw_data(disp: &DisplayData, size: u32) -> (DrawData<'_>, DisplayNode) {
let n = DisplayNode {
name: PathBuf::from("/short"),
size: 2_u64.pow(size),
Expand Down

0 comments on commit 1ffda38

Please sign in to comment.