Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup summery line docs #17473

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
and more
  • Loading branch information
liigo committed Sep 25, 2014
commit 125c7f98e8f39742f9c3435c23f9d49d407bf647
6 changes: 3 additions & 3 deletions src/libcore/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ pub trait Eq: PartialEq {
#[deriving(Clone, PartialEq, Show)]
#[stable]
pub enum Ordering {
/// An ordering where a compared value is less [than another].
/// An ordering where a compared value is less (than another)
Less = -1i,
/// An ordering where a compared value is equal [to another].
/// An ordering where a compared value is equal (to another)
Equal = 0i,
/// An ordering where a compared value is greater [than another].
/// An ordering where a compared value is greater (than another)
Greater = 1i,
}

Expand Down
5 changes: 3 additions & 2 deletions src/libunicode/u_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ impl<'a> DoubleEndedIterator<(uint, &'a str)> for GraphemeIndices<'a> {
}
}

/// External iterator for a string's
/// [grapheme clusters](http://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries).
/// External iterator for a string's grapheme clusters
///
/// http://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries
#[deriving(Clone)]
pub struct Graphemes<'a> {
string: &'a str,
Expand Down