summaryrefslogtreecommitdiff
path: root/tools/hyper_hello/hyper_hello.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hyper_hello/hyper_hello.rs')
-rw-r--r--tools/hyper_hello/hyper_hello.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hyper_hello/hyper_hello.rs b/tools/hyper_hello/hyper_hello.rs
index dc4dceb06..9491b0750 100644
--- a/tools/hyper_hello/hyper_hello.rs
+++ b/tools/hyper_hello/hyper_hello.rs
@@ -9,7 +9,7 @@ use hyper::service::service_fn_ok;
use hyper::{Body, Response, Server};
use std::env;
-static PHRASE: &'static [u8] = b"Hello World!";
+static PHRASE: &[u8] = b"Hello World!";
fn main() {
let mut port: u16 = 4544;