summaryrefslogtreecommitdiff
path: root/tools/hyper_hello/hyper_hello.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-08-16 20:49:00 -0400
committerGitHub <noreply@github.com>2019-08-16 20:49:00 -0400
commitde713e42c8807e3124c9b5d418a69d2ea3460058 (patch)
tree7b007e38e6e69de2db16d54322ae42d0423a782b /tools/hyper_hello/hyper_hello.rs
parent1978358328e869a0e27c91dff848753437989382 (diff)
Upgrade to rust 1.37.0 (#2786)
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;