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/graph_util.rs | |
parent | 903cb48fe94bbbb0c43f17cf51e84a5583ddb728 (diff) |
chore: upgrade to rust 1.58 (#13377)
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r-- | cli/graph_util.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs index d186a1ab1..efce57075 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -288,7 +288,7 @@ impl GraphData { if !range.specifier.as_str().contains("$deno") { return Some(Err(custom_error( get_error_class_name(&error.clone().into()), - format!("{}\n at {}", error.to_string(), range), + format!("{}\n at {}", error, range), ))); } return Some(Err(error.clone().into())); @@ -307,7 +307,7 @@ impl GraphData { if !range.specifier.as_str().contains("$deno") { return Some(Err(custom_error( get_error_class_name(&error.clone().into()), - format!("{}\n at {}", error.to_string(), range), + format!("{}\n at {}", error, range), ))); } return Some(Err(error.clone().into())); @@ -323,7 +323,7 @@ impl GraphData { if !range.specifier.as_str().contains("$deno") { return Some(Err(custom_error( get_error_class_name(&error.clone().into()), - format!("{}\n at {}", error.to_string(), range), + format!("{}\n at {}", error, range), ))); } return Some(Err(error.clone().into())); |