Now using use along with enums, as per https://github.com/rust-lang/rust/pull/18973.
This commit is contained in:
		
				
					committed by
					
						 Jakob Gillich
						Jakob Gillich
					
				
			
			
				
	
			
			
			
						parent
						
							7e55506134
						
					
				
				
					commit
					d7e8b8b117
				
			| @@ -4,6 +4,8 @@ | ||||
| //! the `HttpVersion` enum. | ||||
| use std::fmt; | ||||
|  | ||||
| use self::HttpVersion::{Http09, Http10, Http11, Http20}; | ||||
|  | ||||
| /// Represents a version of the HTTP spec. | ||||
| #[deriving(PartialEq, PartialOrd)] | ||||
| pub enum HttpVersion { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user