Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Fix debug impl and cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassy343 committed Jul 15, 2022
1 parent 8b4116b commit 66e1389
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/packetizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct RtpPacketizer<P, S> {

impl<P, S> fmt::Debug for RtpPacketizer<P, S> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("PacketizerImpl")
f.debug_struct("RtpPacketizer")
.field("mtu", &self.mtu)
.field("payload_type", &self.payload_type)
.field("ssrc", &self.ssrc)
Expand Down
4 changes: 2 additions & 2 deletions src/sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl WrappingSequencer {
pub fn new(init_sequence_number: u16) -> Self {
Self {
next_sequence_number: init_sequence_number,
roll_over_count: 0
roll_over_count: 0,
}
}

Expand All @@ -40,7 +40,7 @@ impl Sequencer for WrappingSequencer {
if self.next_sequence_number == 0 {
self.roll_over_count += 1;
}

next_sequence_number
}
}

0 comments on commit 66e1389

Please sign in to comment.