summaryrefslogtreecommitdiff
path: root/cli/doc/node.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-03 18:35:03 +0200
committerGitHub <noreply@github.com>2020-04-03 18:35:03 +0200
commitefb022a50c8fd4ab598c0bdc6ff0c1978779260a (patch)
treeaa7cd1bede57bad7cfa97aeec3abb7d81fb901ca /cli/doc/node.rs
parent13db64fbc6a8da68e5f6c1da59e058a1a3146054 (diff)
upgrade dprint to 0.9.10 (#4601)
Diffstat (limited to 'cli/doc/node.rs')
-rw-r--r--cli/doc/node.rs4
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(),