1
0
mirror of https://github.com/danog/libdvb.git synced 2024-11-30 04:19:00 +01:00
This commit is contained in:
Daniil Gentili 2022-03-23 19:48:45 +01:00
parent b92da9ec08
commit 368067d3aa
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -591,7 +591,7 @@ impl WrappedSlice<DtvStat> for DtvFrontendStats {
} }
} }
impl fmt::Debug for DtvFrontendStats { impl Debug for DtvFrontendStats {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_list().entries(self.slice().into_iter()).finish() f.debug_list().entries(self.slice().into_iter()).finish()
} }
@ -638,7 +638,7 @@ impl WrappedSlice<u8> for DtvPropertyBuffer {
} }
} }
impl fmt::Debug for DtvPropertyBuffer { impl Debug for DtvPropertyBuffer {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_list().entries(self.slice().into_iter()).finish() f.debug_list().entries(self.slice().into_iter()).finish()
} }
@ -699,7 +699,7 @@ impl<T: Copy + Debug> WrappedResult<T> for DtvPropertyRequestInt<T> {
impl<T: Copy + Debug> Debug for DtvPropertyRequestInt<T> { impl<T: Copy + Debug> Debug for DtvPropertyRequestInt<T> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
self.get().fmt(f) self.get().unwrap().fmt(f)
} }
} }