diff options
author | Andrew Gallant <jamslam@gmail.com> | 2017-08-27 10:14:25 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-08-27 11:05:02 -0400 |
commit | d97c80be63f7cdd46f7bd8d9a17e92a698c51a89 (patch) | |
tree | 8090972acdd38e548289fd3bff4bdf9575c47c8d /src/pathutil.rs | |
parent | 5213bd30ea7b82005c566502253b5d06dbdf3d69 (diff) |
termcolor: make StandardStream be Send
This commit fixes a bug where the `StandardStream` type isn't `Send` on
Windows. This can cause some surprising compile breakage, and the only
motivation for it being non-Send was dubious. Namely, it was a result of
trying to eliminate code duplication.
This refactoring also eliminates at least one "unreachable" panic case
that was a result of trying to eliminate code reuse, so that's a nice
benefit as well.
Fixes #503
Diffstat (limited to 'src/pathutil.rs')
0 files changed, 0 insertions, 0 deletions