Skip to content

Commit 35e072e

Browse files
bors[bot]jplatte
andauthored
Merge #9696
9696: Fix some grammar / spelling mistakes r=lnicola a=jplatte Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2 parents 5983d37 + c0107d2 commit 35e072e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/ide_diagnostics/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ mod handlers {
4343
pub(crate) mod unresolved_module;
4444
pub(crate) mod unresolved_proc_macro;
4545

46-
// The handlers bellow are unusual, the implement the diagnostics as well.
46+
// The handlers below are unusual, the implement the diagnostics as well.
4747
pub(crate) mod field_shorthand;
4848
pub(crate) mod useless_braces;
4949
pub(crate) mod unlinked_file;

docs/dev/architecture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ Mind the code--architecture gap: at the moment, we are using fewer feature flags
461461
In Rust, it is easy (often too easy) to add serialization to any type by adding `#[derive(Serialize)]`.
462462
This easiness is misleading -- serializable types impose significant backwards compatability constraints.
463463
If a type is serializable, then it is a part of some IPC boundary.
464-
You often don't control the other side of this boundary, so changing serializable types are hard.
464+
You often don't control the other side of this boundary, so changing serializable types is hard.
465465

466-
For this reason, the types in `ide`, `base_db` and bellow are not serializable by design.
466+
For this reason, the types in `ide`, `base_db` and below are not serializable by design.
467467
If such types need to cross an IPC boundary, then the client of rust-analyzer needs to provide custom, client-specific serialization format.
468468
This isolates backwards compatibility and migration concerns to a specific client.
469469

0 commit comments

Comments
 (0)