From de713e42c8807e3124c9b5d418a69d2ea3460058 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 16 Aug 2019 20:49:00 -0400 Subject: Upgrade to rust 1.37.0 (#2786) --- cli/compilers/ts.rs | 4 ++-- cli/file_fetcher.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cli') diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs index 9855086b6..4a697525a 100644 --- a/cli/compilers/ts.rs +++ b/cli/compilers/ts.rs @@ -112,8 +112,8 @@ pub struct CompiledFileMetadata { pub version_hash: String, } -static SOURCE_PATH: &'static str = "source_path"; -static VERSION_HASH: &'static str = "version_hash"; +static SOURCE_PATH: &str = "source_path"; +static VERSION_HASH: &str = "version_hash"; impl CompiledFileMetadata { pub fn from_json_string(metadata_string: String) -> Option { diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs index 0e69560ef..97fd0ad8f 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.rs @@ -556,8 +556,8 @@ pub struct SourceCodeHeaders { pub redirect_to: Option, } -static MIME_TYPE: &'static str = "mime_type"; -static REDIRECT_TO: &'static str = "redirect_to"; +static MIME_TYPE: &str = "mime_type"; +static REDIRECT_TO: &str = "redirect_to"; impl SourceCodeHeaders { pub fn from_json_string(headers_string: String) -> Self { -- cgit v1.2.3