diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-03 18:35:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 18:35:03 +0200 |
commit | efb022a50c8fd4ab598c0bdc6ff0c1978779260a (patch) | |
tree | aa7cd1bede57bad7cfa97aeec3abb7d81fb901ca /cli/doc/function.rs | |
parent | 13db64fbc6a8da68e5f6c1da59e058a1a3146054 (diff) |
upgrade dprint to 0.9.10 (#4601)
Diffstat (limited to 'cli/doc/function.rs')
-rw-r--r-- | cli/doc/function.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/doc/function.rs b/cli/doc/function.rs index ec7f9bf38..fbfd2d015 100644 --- a/cli/doc/function.rs +++ b/cli/doc/function.rs @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +use crate::swc_ecma_ast; use serde::Serialize; -use swc_ecma_ast; use super::parser::DocParser; use super::ts_type::ts_type_ann_to_def; @@ -24,7 +24,7 @@ pub fn function_to_function_def( let mut params = vec![]; for param in &function.params { - use swc_ecma_ast::Pat; + use crate::swc_ecma_ast::Pat; let param_def = match param { Pat::Ident(ident) => { |