Copies any value implementing [AsRef]<[OsStr]> into a newly allocated [`OsString`].
(s: &T)
| 140 | /// Copies any value implementing <code>[AsRef]<[OsStr]></code> |
| 141 | /// into a newly allocated [`OsString`]. |
| 142 | fn from(s: &T) -> OsString { |
| 143 | s.as_ref().to_os_string() |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | impl From<String> for OsString { |
nothing calls this directly
no test coverage detected