diff options
Diffstat (limited to 'docs/dev/architecture.md')
-rw-r--r-- | docs/dev/architecture.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index c5e4acea3..6ccb4a27f 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md | |||
@@ -258,7 +258,7 @@ They are independent from the rest of the code. | |||
258 | `mbe` crate contains tools for transforming between syntax trees and token tree. | 258 | `mbe` crate contains tools for transforming between syntax trees and token tree. |
259 | And it also handles the actual parsing and expansion of declarative macro (a-la "Macros By Example" or mbe). | 259 | And it also handles the actual parsing and expansion of declarative macro (a-la "Macros By Example" or mbe). |
260 | 260 | ||
261 | For proc macros, the client-server model are used to run proc-macro. | 261 | For proc macros, the client-server model are used. |
262 | We pass an argument `--proc-macro` to `rust-analyzer` binary to start a separate process (`proc_macro_srv`). | 262 | We pass an argument `--proc-macro` to `rust-analyzer` binary to start a separate process (`proc_macro_srv`). |
263 | And the client (`proc_macro_api`) provides an interface to talk to that server separately. | 263 | And the client (`proc_macro_api`) provides an interface to talk to that server separately. |
264 | 264 | ||