Skip to content

Commit

Permalink
get_type is unused
Browse files Browse the repository at this point in the history
  • Loading branch information
ypo committed Feb 28, 2024
1 parent f85338e commit 34f05f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/fec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub enum ShardType {
pub trait FecShard: Send + Sync + std::fmt::Debug {
fn data(&self) -> &[u8];
fn esi(&self) -> u32;
fn get_type(&self) -> ShardType;
fn _get_type(&self) -> ShardType;
}

#[derive(Debug)]
Expand All @@ -33,7 +33,7 @@ impl FecShard for DataFecShard {
self.index
}

fn get_type(&self) -> ShardType {
fn _get_type(&self) -> ShardType {
self.shard_type
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/fec/raptorq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl FecShard for RaptorFecShard {
fn esi(&self) -> u32 {
self.pkt.payload_id().encoding_symbol_id()
}
fn get_type(&self) -> ShardType {
fn _get_type(&self) -> ShardType {
self.shard_type
}
}
Expand Down

0 comments on commit 34f05f4

Please sign in to comment.