1
Fork 0

Delete Decoder::read_map_elt_key

This commit is contained in:
Mark Rousskov 2022-02-09 17:44:09 -05:00
parent 38e6dad1d3
commit 025e1b581a
2 changed files with 3 additions and 11 deletions

View file

@ -226,14 +226,6 @@ pub trait Decoder {
f(self, len)
}
#[inline]
fn read_map_elt_key<T, F>(&mut self, f: F) -> T
where
F: FnOnce(&mut Self) -> T,
{
f(self)
}
#[inline]
fn read_map_elt_val<T, F>(&mut self, f: F) -> T
where