diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-01-15 01:10:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 07:10:12 +0100 |
commit | ad224f53c798e8417a63d98daeaf3cadc199666c (patch) | |
tree | f323be53d4f5b4289cd04296af1d35028dc23b15 /cli/lsp/documents.rs | |
parent | 903cb48fe94bbbb0c43f17cf51e84a5583ddb728 (diff) |
chore: upgrade to rust 1.58 (#13377)
Diffstat (limited to 'cli/lsp/documents.rs')
-rw-r--r-- | cli/lsp/documents.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs index b0da53ef3..280b345c7 100644 --- a/cli/lsp/documents.rs +++ b/cli/lsp/documents.rs @@ -588,8 +588,8 @@ pub(crate) fn to_hover_text( "blob" => "_(a blob url)_".to_string(), _ => format!( "{}​{}", - specifier[..url::Position::AfterScheme].to_string(), - specifier[url::Position::AfterScheme..].to_string() + &specifier[..url::Position::AfterScheme], + &specifier[url::Position::AfterScheme..], ) .replace('@', "​@"), }, |