Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/base-db/src/input.rs')
-rw-r--r--crates/base-db/src/input.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/base-db/src/input.rs b/crates/base-db/src/input.rs
index 94793a3618..246c57edc2 100644
--- a/crates/base-db/src/input.rs
+++ b/crates/base-db/src/input.rs
@@ -742,7 +742,7 @@ impl CrateGraphBuilder {
deps.into_iter()
}
- /// Returns all crates in the graph, sorted in topological order (ie. dependencies of a crate
+ /// Returns all crates in the graph, sorted in topological order (i.e. dependencies of a crate
/// come before the crate itself).
fn crates_in_topological_order(&self) -> Vec<CrateBuilderId> {
let mut res = Vec::new();
@@ -870,7 +870,7 @@ impl CrateGraphBuilder {
impl Crate {
pub fn root_file_id(self, db: &dyn salsa::Database) -> EditionedFileId {
let data = self.data(db);
- EditionedFileId::new(db, data.root_file_id, data.edition, self)
+ EditionedFileId::new(db, data.root_file_id, data.edition)
}
}