mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-19 11:35:16 +00:00
Fix a few typos
This commit is contained in:
parent
9b2e72c404
commit
3d4f10a856
5 changed files with 6 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue