diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-02-09 17:20:43 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-02-20 18:58:22 -0500 |
| commit | c021ba48a70e69fa681ea6617512ae2028e2677a (patch) | |
| tree | a559aec34a2ed348bcd169d2a18021812213e1ae /compiler/rustc_serialize/src | |
| parent | a421b631ba0af42878250174e57ee25b8f7dbf03 (diff) | |
| download | rust-c021ba48a70e69fa681ea6617512ae2028e2677a.tar.gz rust-c021ba48a70e69fa681ea6617512ae2028e2677a.zip | |
Delete Decoder::read_struct
Diffstat (limited to 'compiler/rustc_serialize/src')
| -rw-r--r-- | compiler/rustc_serialize/src/serialize.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_serialize/src/serialize.rs b/compiler/rustc_serialize/src/serialize.rs index 5e62a0f1eb2..1ce62d1224b 100644 --- a/compiler/rustc_serialize/src/serialize.rs +++ b/compiler/rustc_serialize/src/serialize.rs @@ -211,14 +211,6 @@ pub trait Decoder { } #[inline] - fn read_struct<T, F>(&mut self, f: F) -> T - where - F: FnOnce(&mut Self) -> T, - { - f(self) - } - - #[inline] fn read_struct_field<T, F>(&mut self, _f_name: &str, f: F) -> T where F: FnOnce(&mut Self) -> T, |
