summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorBenjamin Herr <ben@0x539.de>2015-11-04 23:37:27 +0100
committerBenjamin Herr <ben@0x539.de>2015-11-05 13:37:43 +0100
commit4db95e652e30f706a391d702b5fb8060e5572f0d (patch)
tree648bab1aa7615917bb1ff4bb1094ce9a61927618 /src/libcore
parent11e55e4de1602bf0a6dc403efaba17672155fa9a (diff)
downloadrust-4db95e652e30f706a391d702b5fb8060e5572f0d.tar.gz
rust-4db95e652e30f706a391d702b5fb8060e5572f0d.zip
docs for Reflect: blank line after first sentence
Rustdoc takes the first paragraph as a summary, so having a huge
paragraph that ends with introducing an example looked somewhat wrong on
the module page.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/marker.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index f6baf23b564..01b531624bc 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -382,11 +382,12 @@ mod impls {
     unsafe impl<'a, T: Send + ?Sized> Send for &'a mut T {}
 }
 
-/// A marker trait indicates a type that can be reflected over. This
-/// trait is implemented for all types. Its purpose is to ensure that
-/// when you write a generic function that will employ reflection,
-/// that must be reflected (no pun intended) in the generic bounds of
-/// that function. Here is an example:
+/// A marker trait indicates a type that can be reflected over.
+///
+/// This trait is implemented for all types. Its purpose is to ensure
+/// that when you write a generic function that will employ
+/// reflection, that must be reflected (no pun intended) in the
+/// generic bounds of that function. Here is an example:
 ///
 /// ```
 /// #![feature(reflect_marker)]