From 93c06143dfeb0d9cad12dbd9d1f58c9c2f69c06f Mon Sep 17 00:00:00 2001 From: Jan Andersson Date: Tue, 5 May 2015 23:19:23 +0200 Subject: [PATCH] Update with correct output. --- src/liballoc/boxed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 7a089d733cfdf..a0d60be300059 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -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: //!