Delete Decoder::read_struct_field
This commit is contained in:
parent
c021ba48a7
commit
19288951e1
5 changed files with 31 additions and 60 deletions
|
@ -210,14 +210,6 @@ pub trait Decoder {
|
|||
f(self, disr)
|
||||
}
|
||||
|
||||
#[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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue