Update to the rustfmt in rust 1.28, which is now stable.
Also, rustfmt's --write-mode=check is now named --check.
This commit is contained in:
@@ -13,11 +13,7 @@ pub trait IteratorExtras: Iterator {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> IteratorExtras for T
|
||||
where
|
||||
T: Iterator,
|
||||
{
|
||||
}
|
||||
impl<T> IteratorExtras for T where T: Iterator {}
|
||||
|
||||
/// Adjacent pairs iterator returned by `adjacent_pairs()`.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user