diff options
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 { |
