about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorJan Andersson <jan.andersson@gmail.com>2015-05-05 23:19:23 +0200
committerJan Andersson <jan.andersson@gmail.com>2015-05-05 23:19:23 +0200
commit93c06143dfeb0d9cad12dbd9d1f58c9c2f69c06f (patch)
tree31a526cdc0ec49bd228b51e14157c67c08df1871 /src/liballoc
parent6cd748611346dec3181f81ca3aa551cce0529343 (diff)
downloadrust-93c06143dfeb0d9cad12dbd9d1f58c9c2f69c06f.tar.gz
rust-93c06143dfeb0d9cad12dbd9d1f58c9c2f69c06f.zip
Update with correct output.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 7a089d733cf..a0d60be3000 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:
 //!