Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Nov 1, 2024
1 parent 8c5669b commit e85e0ec
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,7 @@ impl FSRSItem {

#[napi(getter)]
pub fn reviews(&self) -> Vec<FSRSReview> {
self
.0
.reviews
.iter()
.map(|x| FSRSReview(*x))
.collect()
self.0.reviews.iter().map(|x| FSRSReview(*x)).collect()
}

#[napi]
Expand Down

0 comments on commit e85e0ec

Please sign in to comment.