diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2019-08-16 20:49:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-16 20:49:00 -0400 |
| commit | de713e42c8807e3124c9b5d418a69d2ea3460058 (patch) | |
| tree | 7b007e38e6e69de2db16d54322ae42d0423a782b /cli | |
| parent | 1978358328e869a0e27c91dff848753437989382 (diff) | |
Upgrade to rust 1.37.0 (#2786)
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/compilers/ts.rs | 4 | ||||
| -rw-r--r-- | cli/file_fetcher.rs | 4 |
2 files changed, 4 insertions, 4 deletions
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<Self> { 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<String>, } -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 { |
