Commit 277ed28
fix(parser): add explicit lifetime to Cow return type (fixes clippy lint)
Fixes `mismatched_lifetime_syntaxes` lint: `Cow<str>` → `Cow<'_, str>` makes
the elided lifetime on the `&str` input and the lifetime in the return type
consistent, silencing `-D warnings` under `cargo clippy`.
https://claude.ai/code/session_01Fmh1aPCyB1xMDwNQbk56in
Co-authored-by: Claude <noreply@anthropic.com>1 parent 833e266 commit 277ed28
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments