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,9 @@
|
||||
use std::fmt;
|
||||
use std::str::FromStr;
|
||||
|
||||
use self::Method::{Options, Get, Post, Put, Delete, Head, Trace, Connect, Patch,
|
||||
Extension};
|
||||
|
||||
/// The Request Method (VERB)
|
||||
///
|
||||
/// Currently includes 8 variants representing the 8 methods defined in
|
||||
|
||||
Reference in New Issue
Block a user