diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 7a089d733cfdf9d087abffbbdbc241afba264dd2..a0d60be300059ed73efdd11e5b815598025dd97e 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: //!