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
parent
7e55506134
commit
d7e8b8b117
@@ -2,6 +2,11 @@
|
||||
use std::fmt;
|
||||
use std::mem::transmute;
|
||||
|
||||
use self::StatusClass::{Informational, Success, Redirection, ClientError,
|
||||
ServerError};
|
||||
|
||||
use self::StatusCode::*;
|
||||
|
||||
// shamelessly lifted from Teepee. I tried a few schemes, this really
|
||||
// does seem like the best.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user