Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit e4043eb

Browse files
committed
Fix formatting of use statements in rls_analysis
1 parent 8f2b9d3 commit e4043eb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

rls-analysis/src/lowering.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
//! in-memory representation.
33
44
use crate::analysis::{Def, Glob, PerCrateAnalysis, Ref};
5-
use data;
65
use crate::loader::AnalysisLoader;
76
use crate::raw::{self, CrateId, DefKind, RelationKind};
87
use crate::util;
98
use crate::{AResult, AnalysisHost, Id, Span, NULL};
109

11-
use span;
12-
1310
use std::collections::hash_map::Entry;
1411
use std::collections::{HashMap, HashSet};
1512
use std::iter::Extend;

rls-analysis/src/raw.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ pub use data::{
44
CratePreludeData, Def, DefKind, GlobalCrateId as CrateId, Import, Ref, Relation, RelationKind,
55
SigElement, Signature, SpanData,
66
};
7-
use crate::listings::{DirectoryListing, ListingKind};
8-
use crate::{AnalysisLoader, Blacklist};
97

108
use std::collections::HashMap;
119
use std::fs::File;
1210
use std::io::{self, Read};
1311
use std::path::{Path, PathBuf};
1412
use std::time::{Instant, SystemTime};
1513

14+
use crate::listings::{DirectoryListing, ListingKind};
15+
use crate::{AnalysisLoader, Blacklist};
16+
1617
#[derive(Debug)]
1718
pub struct Crate {
1819
pub id: CrateId,

0 commit comments

Comments
 (0)