Remove unnecessary &format!

These were likely from before the `PartialEq<str>` impl for `&String`.
This commit is contained in:
Nikolai Vazquez 2023-01-21 22:00:25 -05:00
parent 6afcb85219
commit 3cb40e51dc

View File

@ -69,7 +69,7 @@ fn dot(x: &[f64], y: &[f64]) -> f64 {
#[cfg(test)]
#[test]
fn test() {
assert_eq!(&format!("{:.9}", spectral_norm(100)), "1.274219991");
assert_eq!(format!("{:.9}", spectral_norm(100)), "1.274219991");
}
fn main() {