From 2da59a4768181c0d2ccf7a05cf0c92c824debe7c Mon Sep 17 00:00:00 2001 From: junlu592 Date: Mon, 1 Dec 2025 12:59:10 +0100 Subject: [PATCH] fixed formating for ninja testing --- rslib/src/revlog/mod.rs | 2 +- ts/routes/graphs/reviews.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rslib/src/revlog/mod.rs b/rslib/src/revlog/mod.rs index fbb9b459a..3e22890b1 100644 --- a/rslib/src/revlog/mod.rs +++ b/rslib/src/revlog/mod.rs @@ -161,7 +161,7 @@ impl Collection { ) -> Result<()> { let ease_factor = u32::from( card.memory_state - .map(|s| ((s.difficulty_shifted() * 1000.) as u16)) + .map(|s| (s.difficulty_shifted() * 1000.) as u16) .unwrap_or(card.ease_factor), ); let entry = RevlogEntry { diff --git a/ts/routes/graphs/reviews.ts b/ts/routes/graphs/reviews.ts index 7255c5ea2..5235939fc 100644 --- a/ts/routes/graphs/reviews.ts +++ b/ts/routes/graphs/reviews.ts @@ -105,7 +105,7 @@ export function renderReviews( break; case GraphRange.Year: xMin = -364; - xMax = 0; + xMax = 0; break; case GraphRange.AllTime: xMin = min(sourceData.reviewCount.keys())!;