Skip to content

Commit 7f6673c

Browse files
committed
docs(examples): remove distracting derive(Clone, Copy) from Hello
1 parent c036fd6 commit 7f6673c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/hello.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
extern crate hyper;
33
extern crate futures;
44
extern crate pretty_env_logger;
5-
//extern crate num_cpus;
65

76
use futures::future::FutureResult;
87

@@ -11,7 +10,6 @@ use hyper::server::{Http, Service, Request, Response};
1110

1211
static PHRASE: &'static [u8] = b"Hello World!";
1312

14-
#[derive(Clone, Copy)]
1513
struct Hello;
1614

1715
impl Service for Hello {

0 commit comments

Comments
 (0)