Skip to content

Commit 423f51a

Browse files
committed
docs(gctx): move rationale to rationale paragraph
1 parent 6b40446 commit 423f51a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo/util/context/value.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
//! from configuration, but also record where it was deserialized from when it
1010
//! was read.
1111
//!
12-
//! ## How `Value<T>` deserialization works
13-
//!
1412
//! Deserializing `Value<T>` is pretty special, and serde doesn't have built-in
1513
//! support for this operation. To implement this we extend serde's "data model"
1614
//! a bit. We configure deserialization of `Value<T>` to basically only work with
1715
//! our one deserializer using configuration.
1816
//!
17+
//! ## How `Value<T>` deserialization works
18+
//!
1919
//! We define that `Value<T>` deserialization asks the deserializer for a very
2020
//! special [struct name](NAME) and [struct field names](FIELDS). In doing so,
2121
//! the deserializer will recognize this and synthesize a magical value for the

0 commit comments

Comments
 (0)