]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #1278 - JOE1994:cow, r=RalfJung
authorbors <bors@rust-lang.org>
Sun, 29 Mar 2020 22:43:36 +0000 (22:43 +0000)
committerbors <bors@rust-lang.org>
Sun, 29 Mar 2020 22:43:36 +0000 (22:43 +0000)
make 'fn convert_path_separator' to take 'Cow<>' as argument

Fixed `fn convert_path_separator()` to take `Cow<>` as argument,
in order to prevent unnecessary allocation when target & host path separators are equal.


Trivial merge