Skip to content

Commit

Permalink
docs for Reflect: blank line after first sentence
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ben0x539 committed Nov 5, 2015
1 parent 11e55e4 commit 4db95e6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/libcore/marker.rs
Expand Up @@ -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)]
Expand Down

0 comments on commit 4db95e6

Please sign in to comment.