We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cd7486 commit 93c0614Copy full SHA for 93c0614
src/liballoc/boxed.rs
@@ -37,7 +37,7 @@
37
//! }
38
//! ```
39
//!
40
-//! This will print `Cons(1, Box(Cons(2, Box(Nil))))`.
+//! This will print `Cons(1, Cons(2, Nil))`.
41
42
//! Recursive structures must be boxed, because if the definition of `Cons` looked like this:
43
0 commit comments