diff options
Diffstat (limited to 'cli/doc/ts_type.rs')
| -rw-r--r-- | cli/doc/ts_type.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<TsTypeDef> 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) } |
