about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-09-18 11:04:20 -0500
committerGitHub <noreply@github.com>2017-09-18 11:04:20 -0500
commitfbf3b8ab8ea98ccc14423cb376a62de6f207fb3e (patch)
tree0dda65bbd4a68569553c39e98d691bfd23ff62c9 /src/libstd/thread
parent9ad547367259407abccfc29ce684bda61b346d9f (diff)
parent778d5f2074b05c013e15fabc25daf4e37a174bf7 (diff)
downloadrust-fbf3b8ab8ea98ccc14423cb376a62de6f207fb3e.tar.gz
rust-fbf3b8ab8ea98ccc14423cb376a62de6f207fb3e.zip
Rollup merge of #44466 - clarcharr:cow_error, r=alexcrichton
Add Cow<str> -> Box<Error> impls.

Considering how impls exist for `String` and `&str`, it makes sense to also add an impl for `Cow<str>` as well.

This would allow converting `String::from_utf8_lossy` directly into a `Box<Error>` or `io::Error` without having to add an extra `into_ownd()`.
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions