Skip to content

Commit

Permalink
Merge #85
Browse files Browse the repository at this point in the history
85: Normalize the comment style r=cuviper a=cuviper



Co-authored-by: Josh Stone <cuviper@gmail.com>
  • Loading branch information
bors[bot] and cuviper committed Oct 29, 2020
2 parents 0ab39cd + 66c0edd commit c22e436
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ macro_rules! forward_all_binop {
};
}

/* arithmetic */
// arithmetic
forward_all_binop!(impl Add, add);

// (a + i b) + (c + i d) == (a + c) + i (b + d)
Expand Down Expand Up @@ -1083,7 +1083,7 @@ impl<T: Clone + Num> Rem<T> for Complex<T> {

real_arithmetic!(usize, u8, u16, u32, u64, u128, isize, i8, i16, i32, i64, i128, f32, f64);

/* constants */
// constants
impl<T: Clone + Num> Zero for Complex<T> {
#[inline]
fn zero() -> Self {
Expand Down Expand Up @@ -1210,7 +1210,7 @@ macro_rules! write_complex {
}};
}

/* string conversions */
// string conversions
impl<T> fmt::Display for Complex<T>
where
T: fmt::Display + Num + PartialOrd + Clone,
Expand Down

0 comments on commit c22e436

Please sign in to comment.