Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 87315ef

Browse files
matkladlnicola
andauthored
Apply suggestions from code review
Co-authored-by: Laurențiu Nicola <[email protected]>
1 parent aa73366 commit 87315ef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/project-model/src/project_json.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
//! Normally, we get this "crate graph" by calling `cargo metadata
1919
//! --message-format=json` for each cargo workspace and merging results. This
2020
//! works for your typical cargo project, but breaks down for large folks who
21-
//! have a monorepo with an infitine amount of Rust which is build with bazel or
21+
//! have a monorepo with an infinite amount of Rust code which is built with bazel or
2222
//! some such.
2323
//!
24-
//! To support this use-case, we need to make _something_ configurable. To avoid
24+
//! To support this use case, we need to make _something_ configurable. To avoid
25+
//! a [midlayer mistake](https://lwn.net/Articles/336262/), we allow configuring
2526
//! [midlayer mistake](https://lwn.net/Articles/336262/), we allow configuring
2627
//! the lowest possible layer. `ProjectJson` is essentially a hook to just set
2728
//! that global singleton in-memory data structure. It is optimized for power,

0 commit comments

Comments
 (0)