Commit e36d7a3
committed
fix: resolve lifetime annotation warnings
- Add explicit lifetime annotations to function return types
- Fix ascii_digits.rs: Vec<Line> to Vec<Line<'_>>
- Fix mario_animation.rs: Canvas<impl Fn> to Canvas<'_, impl Fn>
Resolves mismatched_lifetime_syntaxes warnings for cleaner compilation1 parent fccff1a commit e36d7a3
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
0 commit comments