Update with correct output.
This commit is contained in:
parent
6cd7486113
commit
93c06143df
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@
|
|||
//! }
|
||||
//! ```
|
||||
//!
|
||||
//! This will print `Cons(1, Box(Cons(2, Box(Nil))))`.
|
||||
//! This will print `Cons(1, Cons(2, Nil))`.
|
||||
//!
|
||||
//! Recursive structures must be boxed, because if the definition of `Cons` looked like this:
|
||||
//!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue