]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #68738 - kennytm:derive-clone-eq-for-fromutf8error, r=sfackler
authorJonas Schievink <jonasschievink@gmail.com>
Sun, 9 Feb 2020 17:23:28 +0000 (18:23 +0100)
committerGitHub <noreply@github.com>
Sun, 9 Feb 2020 17:23:28 +0000 (18:23 +0100)
commit0b50319af69d52ce9806e91fba777986dec4e417
treef104fd5e6a23902c377df9fbaaaf15999b3249eb
parent6dff769e3718c56f78a317df7167426d60895d58
parent847d5b4d1387a30f1798a5c3c59c3e0c31e00319
Rollup merge of #68738 - kennytm:derive-clone-eq-for-fromutf8error, r=sfackler

Derive Clone + Eq for std::string::FromUtf8Error

Implement `Clone` and `Eq` for `std::string::FromUtf8Error`.

Both the inner `Vec<u8>` and `std::str::Utf8Error` are also `Clone + Eq`, so I don't see why we shouldn't derive them on `FromUtf8Error` as well.

(impl are insta-stable, requiring FCP from T-libs.)