Commit 231f6a1
Fix lifetime warning by explicitly telling the compiler to infer from context
For context:
```
--> src/repositories/updater.rs:311:36
|
| pub(crate) fn repository_name(url: &str) -> Option<RepositoryName> {
| ^^^^ -------------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
````1 parent d532482 commit 231f6a1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
0 commit comments