Remove code that was made obsolete by #555

This commit is contained in:
Anthony Ramine
2021-09-13 10:23:09 +02:00
committed by Sean McArthur
parent 61b4f8fc34
commit 96d9277454
4 changed files with 2 additions and 36 deletions

View File

@@ -77,12 +77,6 @@ pub(crate) enum Open {
Headers,
}
#[derive(Debug, Clone, Copy)]
struct Indices {
head: store::Key,
tail: store::Key,
}
impl Recv {
pub fn new(peer: peer::Dyn, config: &Config) -> Self {
let next_stream_id = if peer.is_server() { 1 } else { 2 };