1
Fork 0

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 52372f9c71
commit 734a91358b
6 changed files with 41 additions and 41 deletions

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() {