From 76681d40623c8a6b8b48ae1108568ed5b799f7ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Sat, 16 Jan 2021 04:33:09 -0300 Subject: Run cargo fmt for the first time --- src/poly/iter.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/poly') diff --git a/src/poly/iter.rs b/src/poly/iter.rs index abc7462..059d7e3 100644 --- a/src/poly/iter.rs +++ b/src/poly/iter.rs @@ -1,16 +1,20 @@ use crate::number::Number; use std::cmp; -use std::iter::{Zip, Take}; +use std::iter::{Take, Zip}; pub struct Iter { index: usize, data: Vec, - degree: usize + degree: usize, } impl Iter { pub fn new(data: Vec, degree: usize) -> Iter { - Iter { index: 0, data, degree } + Iter { + index: 0, + data, + degree, + } } pub fn zip(self, other: Self) -> Zip, Take> { -- cgit v1.2.3