mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Explicit lifecycle that can be omitted
This commit is contained in:
+1
-1
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user