Skip to content

Commit

Permalink
auto merge of #14316 : kballard/rust/range_inclusive_no_toprimitive, …
Browse files Browse the repository at this point in the history
…r=alexcrichton
  • Loading branch information
bors committed May 21, 2014
2 parents 4605232 + c745485 commit 082075d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@ pub struct RangeInclusive<A> {

/// Return an iterator over the range [start, stop]
#[inline]
pub fn range_inclusive<A: Add<A, A> + Ord + Clone + One + ToPrimitive>(start: A, stop: A)
pub fn range_inclusive<A: Add<A, A> + Ord + Clone + One>(start: A, stop: A)
-> RangeInclusive<A> {
RangeInclusive{range: range(start, stop), done: false}
}
Expand Down

0 comments on commit 082075d

Please sign in to comment.