minor: typo

This commit is contained in:
Aleksey Kladov 2021-07-19 19:18:39 +03:00
parent c595676f7e
commit 1dc337645a

View File

@ -463,7 +463,7 @@ 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 have control over the over 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 are hard.
For this reason, the types in `ide`, `base_db` and bellow 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.