about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-07-26 08:43:58 +0000
committerGitHub <noreply@github.com>2021-07-26 08:43:58 +0000
commit35e072ed44c55e5c74640fe7ab3aeffe20306d2a (patch)
tree4b45f690a171efe7e3b026d4e107e8d40142723f
parent5983d3745ac8490c1c2798fdc963aa9fc803dd03 (diff)
parentc0107d2ea63a5527d2990f7f322f642340ceb3cd (diff)
downloadrust-35e072ed44c55e5c74640fe7ab3aeffe20306d2a.tar.gz
rust-35e072ed44c55e5c74640fe7ab3aeffe20306d2a.zip
Merge #9696
9696: Fix some grammar / spelling mistakes r=lnicola a=jplatte



Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
-rw-r--r--crates/ide_diagnostics/src/lib.rs2
-rw-r--r--docs/dev/architecture.md4
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide_diagnostics/src/lib.rs b/crates/ide_diagnostics/src/lib.rs
index dd87738aac4..a3dc88b5f5d 100644
--- a/crates/ide_diagnostics/src/lib.rs
+++ b/crates/ide_diagnostics/src/lib.rs
@@ -43,7 +43,7 @@ mod handlers {
     pub(crate) mod unresolved_module;
     pub(crate) mod unresolved_proc_macro;
 
-    // The handlers bellow are unusual, the implement the diagnostics as well.
+    // The handlers below are unusual, the implement the diagnostics as well.
     pub(crate) mod field_shorthand;
     pub(crate) mod useless_braces;
     pub(crate) mod unlinked_file;
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md
index 9d1b0987235..5ca63e27cfc 100644
--- a/docs/dev/architecture.md
+++ b/docs/dev/architecture.md
@@ -461,9 +461,9 @@ Mind the code--architecture gap: at the moment, we are using fewer feature flags
 In Rust, it is easy (often too easy) to add serialization to any type by adding `#[derive(Serialize)]`.
 This easiness is misleading -- serializable types impose significant backwards compatability constraints.
 If a type is serializable, then it is a part of some IPC boundary.
-You often don't control the other side of this boundary, so changing serializable types are hard.
+You often don't control the other side of this boundary, so changing serializable types is hard.
 
-For this reason, the types in `ide`, `base_db` and bellow are not serializable by design.
+For this reason, the types in `ide`, `base_db` and below are not serializable by design.
 If such types need to cross an IPC boundary, then the client of rust-analyzer needs to provide custom, client-specific serialization format.
 This isolates backwards compatibility and migration concerns to a specific client.