Fix warnings
This commit is contained in:
		| @@ -151,6 +151,7 @@ impl Decoder { | ||||
|     } | ||||
|  | ||||
|     /// Queues a potential size update | ||||
|     #[allow(dead_code)] | ||||
|     pub fn queue_size_update(&mut self, size: usize) { | ||||
|         let size = match self.max_size_update { | ||||
|             Some(v) => cmp::max(v, size), | ||||
|   | ||||
| @@ -44,6 +44,7 @@ impl Encoder { | ||||
|     /// Queues a max size update. | ||||
|     /// | ||||
|     /// The next call to `encode` will include a dynamic size update frame. | ||||
|     #[allow(dead_code)] | ||||
|     pub fn update_max_size(&mut self, val: usize) { | ||||
|         match self.size_update { | ||||
|             Some(SizeUpdate::One(old)) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user