Skip to content

Commit

Permalink
chore: appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-rev committed Dec 6, 2024
1 parent 21b05ba commit 13e4527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-view/src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@ impl Editor {
}

pub fn document_id_by_path(&self, path: &Path) -> Option<DocumentId> {
self.document_by_path(&path).map(|doc| doc.id)
self.document_by_path(path).map(|doc| doc.id)
}

// ??? possible use for integration tests
Expand Down

0 comments on commit 13e4527

Please sign in to comment.