about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-05-07 12:21:02 +0200
committerSteve Klabnik <steve@steveklabnik.com>2015-05-07 12:21:02 +0200
commit6b56f790dbf094d4f08c7c0f434d31b6c786f6e5 (patch)
tree827e160a558dfc8ce3eb76db901b77b3f80774d0
parent76bbb3237c27dabfeef0aab06329bf385619c48b (diff)
parent93c06143dfeb0d9cad12dbd9d1f58c9c2f69c06f (diff)
downloadrust-6b56f790dbf094d4f08c7c0f434d31b6c786f6e5.tar.gz
rust-6b56f790dbf094d4f08c7c0f434d31b6c786f6e5.zip
Rollup merge of #25131 - janne:patch-1, r=alexcrichton
-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:
 //!