Clear up unreachable message (#161)
This commit is contained in:
		
				
					committed by
					
						 Carl Lerche
						Carl Lerche
					
				
			
			
				
	
			
			
			
						parent
						
							c23d11306e
						
					
				
				
					commit
					6a0800d7a4
				
			| @@ -600,7 +600,12 @@ impl Prioritize { | ||||
|                                 } | ||||
|                             })) | ||||
|                         }, | ||||
|                         Some(frame) => frame.map(|_| unreachable!()), | ||||
|                         Some(frame) => frame.map(|_| | ||||
|                             unreachable!( | ||||
|                                 "Frame::map closure will only be called \ | ||||
|                                  on DATA frames." | ||||
|                              ) | ||||
|                         ), | ||||
|                         None => { | ||||
|                             assert!(stream.state.is_canceled()); | ||||
|                             stream.state.set_reset(Reason::CANCEL); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user