mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
shorten the comment
This commit is contained in:
parent
72821d878f
commit
80facd0c5a
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ pub(crate) fn single_card_revlog_to_item(
|
||||||
if first_review.ease_factor <= 1.1 {
|
if first_review.ease_factor <= 1.1 {
|
||||||
starting_state.difficulty = (first_review.ease_factor - 0.1) * 9.0 + 1.0;
|
starting_state.difficulty = (first_review.ease_factor - 0.1) * 9.0 + 1.0;
|
||||||
}
|
}
|
||||||
// remove the first review because it has been used to calculate the starting state
|
// remove the first review because it has been converted to the starting state
|
||||||
item.reviews.remove(0);
|
item.reviews.remove(0);
|
||||||
Ok(Some(FsrsItemWithStartingState {
|
Ok(Some(FsrsItemWithStartingState {
|
||||||
item,
|
item,
|
||||||
|
|
Loading…
Reference in a new issue