]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #98083 - nnethercote:rename-Encoder, r=bjorn3
authorYuki Okushi <jtitor@2k36.org>
Wed, 15 Jun 2022 03:02:04 +0000 (12:02 +0900)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 03:02:04 +0000 (12:02 +0900)
Rename rustc_serialize::opaque::Encoder as MemEncoder.

This avoids the name clash with `rustc_serialize::Encoder` (a trait),
and allows lots qualifiers to be removed and imports to be simplified
(e.g. fewer `as` imports).

(This was previously merged as commit 5 in #94732 and then was reverted
in #97905 because of a perf regression caused by commit 4 in #94732.)

r? ```@bjorn3```


Trivial merge