Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/lib.rs')
-rw-r--r--crates/ide/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs
index d8dc9ca32a..c13fc84356 100644
--- a/crates/ide/src/lib.rs
+++ b/crates/ide/src/lib.rs
@@ -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,