Skip to content

Commit

Permalink
fix: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Chronostasys committed Aug 1, 2023
1 parent 81c26fd commit 527bfba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/ast/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ use rustc_hash::FxHashSet;

use std::cell::RefCell;


use std::sync::Arc;
mod builtins;
mod references;
Expand Down Expand Up @@ -1097,7 +1096,7 @@ impl<'a, 'ctx> Ctx<'a> {

pub fn get_mod(&self, path: &str) -> Mod {
let ori_mod = unsafe { &*self.origin_mod as &Mod };

if path == self.plmod.path {
self.plmod.clone()
} else if path == ori_mod.path {
Expand Down
1 change: 0 additions & 1 deletion src/ast/pltype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ use lsp_types::SymbolKind;
use rustc_hash::FxHashMap;
use std::cell::RefCell;


use std::sync::atomic::AtomicI64;
use std::sync::atomic::Ordering;
use std::sync::Arc;
Expand Down

0 comments on commit 527bfba

Please sign in to comment.