fix clippy for warning for derivable default impls
@@ -103,20 +103,12 @@ impl RTPWriter for SenderStream {
}
}
+#[derive(Default)]
pub(crate) struct Counters {
packets: u32,
octets: u32,
}
-impl Default for Counters {
- fn default() -> Self {
- Self {
- packets: 0,
- octets: 0,
- }
- }
-}
-
/// Wrapping counters used for generating [`rtcp::sender_report::SenderReport`]
impl Counters {
pub fn increment_packets(&mut self) {
