Commit e8809e3
authored
Rollup merge of #158157 - cuviper:once_lock-clone, r=tgross35
Use the direct `From` in `Clone for OnceLock<T>`
This is a followup to #158101 as again, the complexity of `set` is not necessary here, especially because we can now use that direct `From`.
r? tgross351 file changed
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
| 629 | + | |
637 | 630 | | |
638 | 631 | | |
639 | 632 | | |
| |||
0 commit comments