summaryrefslogtreecommitdiff
path: root/cli/doc/node.rs
diff options
context:
space:
mode:
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(),