diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-02-09 17:26:17 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-02-20 18:58:22 -0500 |
| commit | 19288951e1968abbfa552f6340a693d23e5e0254 (patch) | |
| tree | 4880421657fa368a6c319b567032e5d9d19dec4e /compiler/rustc_serialize/src | |
| parent | c021ba48a70e69fa681ea6617512ae2028e2677a (diff) | |
| download | rust-19288951e1968abbfa552f6340a693d23e5e0254.tar.gz rust-19288951e1968abbfa552f6340a693d23e5e0254.zip | |
Delete Decoder::read_struct_field
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 1ce62d1224b..4996e02d7d7 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_field<T, F>(&mut self, _f_name: &str, f: F) -> T - where - F: FnOnce(&mut Self) -> T, - { - f(self) - } - - #[inline] fn read_tuple<T, F>(&mut self, _len: usize, f: F) -> T where F: FnOnce(&mut Self) -> T, |
