From 3bb15ceaeaf5cd349afcb2e2d43374efd420aaef Mon Sep 17 00:00:00 2001 From: Axetroy Date: Mon, 23 Dec 2019 22:59:44 +0800 Subject: Upgrades rust to 1.40.0 (#3542) --- cli/ops/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/ops/errors.rs') diff --git a/cli/ops/errors.rs b/cli/ops/errors.rs index 3d94c05c4..4ef912916 100644 --- a/cli/ops/errors.rs +++ b/cli/ops/errors.rs @@ -61,7 +61,7 @@ fn op_apply_source_map( ); Ok(JsonOp::Sync(json!({ - "filename": orig_filename.to_string(), + "filename": orig_filename, "line": orig_line as u32, "column": orig_column as u32, }))) -- cgit v1.2.3