Commit 781b92c
committed
Implement AsRef<OsStr> for Cow<'_, Path>
In #31751, `impl AsRef<Path> for Cow<'_, OsStr>` was added, but the
converse was omitted and it wasn't mentioned in discussion. This seems
to have been a simple oversight, as it otherwise implemented traits
mutually between `OsStr` and `Path`.1 parent c211076 commit 781b92c
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3173 | 3173 | | |
3174 | 3174 | | |
3175 | 3175 | | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
| 3180 | + | |
| 3181 | + | |
| 3182 | + | |
| 3183 | + | |
3176 | 3184 | | |
3177 | 3185 | | |
3178 | 3186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
941 | 941 | | |
942 | 942 | | |
943 | 943 | | |
944 | | - | |
| 944 | + | |
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
| |||
0 commit comments