Skip to content

Commit ba9d316

Browse files
committed
Fix rebase conflicts
1 parent 21afea7 commit ba9d316

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

crates/ark/src/lsp/tests/goto_definition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn make_params(uri: lsp_types::Url, line: u32, character: u32) -> GotoDefinition
2323
}
2424

2525
/// A state with several open files, each mirrored into `oak` like `did_open`
26-
/// does, so `source()` targets resolve through `file_by_url`.
26+
/// does, so `source()` targets resolve through `file_by_path`.
2727
fn make_state_with(files: &[(&Url, &str)]) -> WorldState {
2828
let mut state = WorldState::default();
2929
for (uri, code) in files {

crates/oak_db/src/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ pub(crate) fn root_by_package_query(db: &dyn Db, pkg: Package) -> Option<Root> {
216216
/// The file-level analogue of [`root_by_package`]. Nested roots overlap on
217217
/// disk, so a file reachable from several roots is owned by the deepest one,
218218
/// matching the package tiebreak. Ownership is keyed on reachability (the
219-
/// file is in the root's [`root_url_index`]), not bare path prefix, so the
219+
/// file is in the root's [`root_path_index`]), not bare path prefix, so the
220220
/// owner always actually contains the file. That's what makes it safe for
221221
/// [`all_files`] to emit each file exactly once: the owner is guaranteed to
222222
/// visit it. A bare path prefix would name a freshly-added but not-yet-scanned

0 commit comments

Comments
 (0)