rm unused fn
This commit is contained in:
@@ -44,10 +44,6 @@ impl<T> Data<T> {
|
|||||||
self.flags.is_end_stream()
|
self.flags.is_end_stream()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_end_stream(&mut self) {
|
|
||||||
self.flags.set_end_stream()
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn head(&self) -> Head {
|
pub fn head(&self) -> Head {
|
||||||
Head::new(Kind::Data, self.flags.into(), self.stream_id)
|
Head::new(Kind::Data, self.flags.into(), self.stream_id)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user