|
@@ -9,7 +9,7 @@ use crate::{Float, Numeric, Primitive};
|
|
/// ```rust
|
|
/// ```rust
|
|
/// # use lineal::{Complex, Float, Numeric};
|
|
/// # use lineal::{Complex, Float, Numeric};
|
|
/// let c = Complex { real: 9.0, imag: 0.0 };
|
|
/// let c = Complex { real: 9.0, imag: 0.0 };
|
|
-/// assert_eq!(format!("{:?}", c), "[9,0]");
|
|
|
|
|
|
+/// assert_eq!(format!("{:?}", c), "Complex { real: 9.0, imag: 0.0 }");
|
|
///
|
|
///
|
|
/// let three = c.fsqrt().real;
|
|
/// let three = c.fsqrt().real;
|
|
/// assert_eq!(three, 3.0);
|
|
/// assert_eq!(three, 3.0);
|