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/node.rs | |
parent | 13db64fbc6a8da68e5f6c1da59e058a1a3146054 (diff) |
upgrade dprint to 0.9.10 (#4601)
Diffstat (limited to 'cli/doc/node.rs')
-rw-r--r-- | cli/doc/node.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/doc/node.rs b/cli/doc/node.rs index da4b81c11..e1e83ad0d 100644 --- a/cli/doc/node.rs +++ b/cli/doc/node.rs @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +use crate::swc_common; use serde::Serialize; -use swc_common; #[derive(Debug, PartialEq, Serialize, Clone)] #[serde(rename_all = "camelCase")] @@ -30,7 +30,7 @@ pub struct Location { impl Into<Location> for swc_common::Loc { fn into(self) -> Location { - use swc_common::FileName::*; + use crate::swc_common::FileName::*; let filename = match &self.file.name { Real(path_buf) => path_buf.to_string_lossy().to_string(), |