Skip to content

Commit 46e6e42

Browse files
committed
complex: use ///... instead of /**...*/ for comment
1 parent 8138c35 commit 46e6e42

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libnum/complex.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ impl<T: Clone + Num> Complex<T> {
3636
Complex { re: re, im: im }
3737
}
3838

39-
/**
40-
Returns the square of the norm (since `T` doesn't necessarily
41-
have a sqrt function), i.e. `re^2 + im^2`.
42-
*/
39+
/// Returns the square of the norm (since `T` doesn't necessarily
40+
/// have a sqrt function), i.e. `re^2 + im^2`.
4341
#[inline]
4442
pub fn norm_sqr(&self) -> T {
4543
self.re * self.re + self.im * self.im

0 commit comments

Comments
 (0)