Fix a few typos

This commit is contained in:
Vincent Esche 2024-12-13 09:53:10 +01:00
parent 9b2e72c404
commit 3d4f10a856
5 changed files with 6 additions and 6 deletions

View file

@ -299,7 +299,7 @@ impl Analysis {
/// Gets the syntax tree of the file.
pub fn parse(&self, file_id: FileId) -> Cancellable<SourceFile> {
// FIXME editiojn
// FIXME edition
self.with_db(|db| db.parse(EditionedFileId::current_edition(file_id)).tree())
}
@ -540,7 +540,7 @@ impl Analysis {
/// Returns URL(s) for the documentation of the symbol under the cursor.
/// # Arguments
/// * `position` - Position in the file.
/// * `target_dir` - Directory where the build output is storeda.
/// * `target_dir` - Directory where the build output is stored.
pub fn external_docs(
&self,
position: FilePosition,