mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
Apply suggestions from code review
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
parent
aa73366b0b
commit
87315ef5c3
1 changed files with 3 additions and 2 deletions
|
@ -18,10 +18,11 @@
|
||||||
//! Normally, we get this "crate graph" by calling `cargo metadata
|
//! Normally, we get this "crate graph" by calling `cargo metadata
|
||||||
//! --message-format=json` for each cargo workspace and merging results. This
|
//! --message-format=json` for each cargo workspace and merging results. This
|
||||||
//! works for your typical cargo project, but breaks down for large folks who
|
//! works for your typical cargo project, but breaks down for large folks who
|
||||||
//! have a monorepo with an infitine amount of Rust which is build with bazel or
|
//! have a monorepo with an infinite amount of Rust code which is built with bazel or
|
||||||
//! some such.
|
//! some such.
|
||||||
//!
|
//!
|
||||||
//! To support this use-case, we need to make _something_ configurable. To avoid
|
//! To support this use case, we need to make _something_ configurable. To avoid
|
||||||
|
//! a [midlayer mistake](https://lwn.net/Articles/336262/), we allow configuring
|
||||||
//! [midlayer mistake](https://lwn.net/Articles/336262/), we allow configuring
|
//! [midlayer mistake](https://lwn.net/Articles/336262/), we allow configuring
|
||||||
//! the lowest possible layer. `ProjectJson` is essentially a hook to just set
|
//! the lowest possible layer. `ProjectJson` is essentially a hook to just set
|
||||||
//! that global singleton in-memory data structure. It is optimized for power,
|
//! that global singleton in-memory data structure. It is optimized for power,
|
||||||
|
|
Loading…
Reference in a new issue