fixed formating for ninja testing

This commit is contained in:
junlu592 2025-12-01 12:59:10 +01:00
parent 2db3aed716
commit 2da59a4768
2 changed files with 2 additions and 2 deletions

View file

@ -161,7 +161,7 @@ impl Collection {
) -> Result<()> { ) -> Result<()> {
let ease_factor = u32::from( let ease_factor = u32::from(
card.memory_state card.memory_state
.map(|s| ((s.difficulty_shifted() * 1000.) as u16)) .map(|s| (s.difficulty_shifted() * 1000.) as u16)
.unwrap_or(card.ease_factor), .unwrap_or(card.ease_factor),
); );
let entry = RevlogEntry { let entry = RevlogEntry {