From f8261d611a60e99bc188022773f84912972208d2 Mon Sep 17 00:00:00 2001 From: Marcus Klaas de Vries Date: Tue, 8 Jan 2019 23:38:51 +0100 Subject: Fix typo defenition -> definition --- crates/ra_hir/src/impl_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir/src/impl_block.rs') diff --git a/crates/ra_hir/src/impl_block.rs b/crates/ra_hir/src/impl_block.rs index bb0ad84e4..0fbbdc8eb 100644 --- a/crates/ra_hir/src/impl_block.rs +++ b/crates/ra_hir/src/impl_block.rs @@ -150,7 +150,7 @@ impl ModuleImplBlocks { } fn collect(&mut self, db: &impl HirDatabase, module: Module) -> Cancelable<()> { - let (file_id, module_source) = module.defenition_source(db)?; + let (file_id, module_source) = module.definition_source(db)?; let node = match &module_source { ModuleSource::SourceFile(node) => node.syntax(), ModuleSource::Module(node) => node.syntax(), -- cgit v1.2.3 From 0b8fbb4fad97d2980f0070a23f5365a5ed887e2a Mon Sep 17 00:00:00 2001 From: Marcus Klaas de Vries Date: Wed, 9 Jan 2019 00:47:12 +0100 Subject: Fix typos in ARCHITECTURE.md and a number of crates specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir --- crates/ra_hir/src/impl_block.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ra_hir/src/impl_block.rs') diff --git a/crates/ra_hir/src/impl_block.rs b/crates/ra_hir/src/impl_block.rs index 0fbbdc8eb..4acda9af3 100644 --- a/crates/ra_hir/src/impl_block.rs +++ b/crates/ra_hir/src/impl_block.rs @@ -128,13 +128,13 @@ impl ImplItem { pub struct ImplId(pub RawId); impl_arena_id!(ImplId); -/// Collection of impl blocks is a two-step process: First we collect the blocks -/// per-module; then we build an index of all impl blocks in the crate. This -/// way, we avoid having to do this process for the whole crate whenever someone -/// types in any file; as long as the impl blocks in the file don't change, we -/// don't need to do the second step again. +/// The collection of impl blocks is a two-step process: first we collect the +/// blocks per-module; then we build an index of all impl blocks in the crate. +/// This way, we avoid having to do this process for the whole crate whenever +/// a file is changed; as long as the impl blocks in the file don't change, +/// we don't need to do the second step again. /// -/// (The second step does not yet exist currently.) +/// (The second step does not yet exist.) #[derive(Debug, PartialEq, Eq)] pub struct ModuleImplBlocks { impls: Arena, -- cgit v1.2.3