Skip to content

Commit be18d8a

Browse files
committed
Rustfmt
1 parent 5f3ea95 commit be18d8a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/md5.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ struct StepUp<T> {
2121
ammount: T,
2222
}
2323

24-
impl<T> Iterator for StepUp<T> where T: Add<T, Output = T> + PartialOrd + Copy
24+
impl<T> Iterator for StepUp<T>
25+
where T: Add<T, Output = T> + PartialOrd + Copy
2526
{
2627
type Item = T;
2728

@@ -41,7 +42,8 @@ trait RangeExt<T> {
4142
fn step_up(self, ammount: T) -> StepUp<T>;
4243
}
4344

44-
impl<T> RangeExt<T> for Range<T> where T: Add<T, Output = T> + PartialOrd + Copy
45+
impl<T> RangeExt<T> for Range<T>
46+
where T: Add<T, Output = T> + PartialOrd + Copy
4547
{
4648
fn step_up(self, ammount: T) -> StepUp<T> {
4749
StepUp {

src/types/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,8 @@ pub trait ToSql: fmt::Debug {
891891
fn to_sql_checked(&self, ty: &Type, out: &mut Write, ctx: &SessionInfo) -> Result<IsNull>;
892892
}
893893

894-
impl<'a, T> ToSql for &'a T where T: ToSql
894+
impl<'a, T> ToSql for &'a T
895+
where T: ToSql
895896
{
896897
to_sql_checked!();
897898

0 commit comments

Comments
 (0)