docs(examples): remove unnecessary Clone and Copy from Echo
This commit is contained in:
@@ -11,7 +11,6 @@ use hyper::server::{Http, Service, Request, Response};
|
|||||||
|
|
||||||
static INDEX: &'static [u8] = b"Try POST /echo";
|
static INDEX: &'static [u8] = b"Try POST /echo";
|
||||||
|
|
||||||
#[derive(Clone, Copy)]
|
|
||||||
struct Echo;
|
struct Echo;
|
||||||
|
|
||||||
impl Service for Echo {
|
impl Service for Echo {
|
||||||
|
|||||||
Reference in New Issue
Block a user