Commit bc0788b
Lukas Markeffsky
Use mem::replace in ptr::replace instead of mem::swap
1 parent ecdd374 commit bc0788b
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
1015 | | - | |
| 1015 | + | |
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | | - | |
| 1022 | + | |
1023 | 1023 | | |
1024 | | - | |
1025 | 1024 | | |
1026 | 1025 | | |
1027 | 1026 | | |
| |||
0 commit comments