From e85e0ec886f55fb960c8001a338de9d9e3b2fb27 Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Fri, 1 Nov 2024 17:28:03 +0800 Subject: [PATCH] cargo fmt --- src/lib.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index dffec4a..a021db7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -125,12 +125,7 @@ impl FSRSItem { #[napi(getter)] pub fn reviews(&self) -> Vec { - self - .0 - .reviews - .iter() - .map(|x| FSRSReview(*x)) - .collect() + self.0.reviews.iter().map(|x| FSRSReview(*x)).collect() } #[napi]