From 851344f2ed588c0aa5db4fa66b7326900fdf9b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 1 Jul 2020 16:04:56 +0200 Subject: upgrade: swc_ecma_visit, dprint, deno_lint (#6580) --- cli/doc/ts_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/doc') diff --git a/cli/doc/ts_type.rs b/cli/doc/ts_type.rs index ec1a5e7e9..7bb494541 100644 --- a/cli/doc/ts_type.rs +++ b/cli/doc/ts_type.rs @@ -121,7 +121,7 @@ impl Into for &TsTupleType { let mut type_defs = vec![]; for type_box in &self.elem_types { - let ts_type: &TsType = &(*type_box); + let ts_type: &TsType = &type_box.ty; let def: TsTypeDef = ts_type.into(); type_defs.push(def) } -- cgit v1.2.3