about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-21 13:38:26 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-21 13:38:26 +0530
commit8007eada79c58a171f44135295d0f1e216041ab3 (patch)
treeedd8b6064e0b3b5a72ef8c4ec1b338960c895f31 /src
parent02bce96e7baab54d91c8704cee64bc36b0ec8c06 (diff)
parentb55f0497db7350e0033b626b317e53cf95b9a8b4 (diff)
downloadrust-8007eada79c58a171f44135295d0f1e216041ab3.tar.gz
rust-8007eada79c58a171f44135295d0f1e216041ab3.zip
Rollup merge of #25659 - tshepang:improve-rendering, r=steveklabnik
Diffstat (limited to 'src')
-rw-r--r--src/libcore/marker.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index 5909c5cc30e..86e91df38ab 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -120,11 +120,10 @@ pub trait Unsize<T> {
 /// ```
 ///
 /// The `PointList` `struct` cannot implement `Copy`, because `Vec<T>` is not `Copy`. If we
-/// attempt to derive a `Copy` implementation, we'll get an error.
+/// attempt to derive a `Copy` implementation, we'll get an error:
 ///
 /// ```text
-/// error: the trait `Copy` may not be implemented for this type; field `points` does not implement
-/// `Copy`
+/// the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy`
 /// ```
 ///
 /// ## How can I implement `Copy`?